arduino / arduino-modulino-mpy

A MicroPython package to read data from Modulinos and control their behaviour.

Repository from Github https://github.comarduino/arduino-modulino-mpyRepository from Github https://github.comarduino/arduino-modulino-mpy

unable to run examples

gbr1 opened this issue · comments

It seems impossible to run any example.
No I2C bus parameter is exposed in any example.

The I2C bus is detected automatically for supported Arduino boards. For third party board the bus can be provided as follows:

bus = I2C(0, freq=100000)
pixels = ModulinoPixels(bus)
pixels.set_all_rgb(0, 255, 0, 100)
pixels.show()

This is show in thethird_party_board.py example. I just added a few more lines there to make it clearer.