MCN Workshop Part 4

On the previous part, we got the GEMMA receiving input from a simple button. Now, we’ll work on only output from the GEMMA to control some fun lights.

NeoPixels

First, unplug the GEMMA from your computer.

Then, take out three alligator clips: yellow, red, and black.

Now, attach the clips as below:

Yellow from GEMMA DO to NeoPixels IN

Red from GEMMA Vout to NeoPixels PWR

Black from GEMMA GND to NeoPixels GNDNOTE: Be careful when you clip. Only get a small bit of the NeoPixel ring. If you put the clip on too far, it may touch other electronics and short out your circuit.

With the circuit created, now we move to the code.

Start up a new, blank sketch by opening the File menu and choosing New.