Open whaleygeek opened 7 years ago
In particular, this means that I have to think through the package paths carefully.
Currently there is a folder called microbit that provides the proxy classes that talk to the micro:bit device. This is so that the API is identical to code you would write on a microbit.
This would imply I need a neopixel folder in the distribution, and this would have to find the microbit folder to get access to the proxy REPL interface.
I specifically want this to be a zero install 'drop the folder in and it works' experience by default.
The same will be true of other modules, like the radio module.
The standard MicroPython on micro:bit has a neopixel module.
It would be great to be able to do this directly on the host machine when a bitio enabled micro:bit is connected...
import neopixel np = neopixel.NeoPixel(pin0, 8) np[0] = (255, 0, 0) np.show()