Data Sheet
4
www.kitronik.co.uk
11
As well as addressing all the pixels at once it is possible to set them
individually, or as a group. The first pixel always has an address of 0 (see
diagram below).
WHAT THIS MEANS
Set the first two pixels to red, the middle pixel to
white and the last two to blue.
STEP 12: Change the code under ‘On button A pressed’ to the following.
REMEMBER: To show a change you must use a block with ‘show’ in it.
UploadDownload
NOTE: You may need to click on ‘More’ under the ‘neopixel’ toolset to view
extra blocks.
0 1 2 3 4
STEP 13:
STEP 14: Press A and watch the lights!