Digital Output Breakout Board​​​​​​​
In order to demonstrate that the LEDs soldered onto the breakout board were functional, a simple breadboard circuit connected to the micro-controller was constructed. The example Arduino code "Blink" was used to turn the lights on, then off, every 1000 milliseconds.
Digital Input Breakout Board - GitHub Gist Code
This breakout board was tested by creating a circuit in which an input from the Digital Input board would turn on the LEDs on the Digital Output board.  The signal from the input board was connected to the micro-controller at Digital Pin 2 while the output was connected to Digital Pin 5.  A simple code was written to turn the output board on when the input board read a HIGH signal, as linked above. 
Digital Input and Output Circuit - GitHub Gist Code
A strip of four Neopixels were connected Digital Pin 2 as the output of the circuit. Two buttons were connected to Digital Pins 5 and 6  to create two separate inputs to the micro-controller. I wrote an Arduino code that would change the color of the Neopixels depending on which button was pressed. If no button was pressed, the Neopixels would be off, if the button on the breadboard was pressed, the color was blue. If the button on the breakout board was pressed, the color was green, and if both buttons were pressed, the color would change to red.
Back to Top