Basic Program for Using Neo Pixel with MicroBit
Load the Neo Pixel blocks by:
- Go to "Advanced" in the block pallet
- Select "Extensions"
- Select Neo Pixel extensions
- If not there check the Make Code version to see if it is current. Support for the Neo Pixel is built into Make Code and only needs to be turned on.
This program lights up all of the LEDs in a rainbow pattern.
Use the correct Pin # in the "Set Item" command ie. pin 2
Include the 1 second delay or you may not see the LEDs.
Use the correct Pin # in the "Set Item" command ie. pin 2
Include the 1 second delay or you may not see the LEDs.