D6 is the data bus for the NeoPixel, VBATT and GND also connect to + and - on the pixel. A snap is used as a switch-- one half is connected to GND and stitched to the body of the fish, and the other to TX (aka D1, any digital pin will work), and sewn to the back of the fin so you can snap and unsnap it at will. You can print out the fish pattern on transfer paper or just use it as a reference.
You an adapt this project for Gemma by changing the button pin to be Digital #0 or #2 and the NeoPixels on Digital #1 - the code will also need adjustments for the new pin connections
Text editor powered by tinymce.