Review the circuit diagram. This illustration is meant for referencing wired connections. The length of pixels, wire, position, and size of components do not match the actual project.
The circuit diagram shows that all three open data pins on the Gemma M0 board will be in use:
- The pixels located on the LEFT (the wearer's right) connect to Ground, Power, & D1
- The pixels located on the RIGHT (the wearer's left) connect to Ground, Power, & D0
- The button connects to Ground & D2
Note that the top couple of rows of pixels aren't all pointing in the same direction, but the data line always flow in the correct direction. If the pixels weren't going to be mapped out in the code, this might result in some weird animations. Mapping the order and orientation of the pixels out allows the strips to point to the left or right.
Text editor powered by tinymce.