From 3efdba9ec41af279a1029bfbf15f015db67a09ea Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Thu, 28 Dec 2017 18:31:10 -0500 Subject: [PATCH] Add wiring instructions to mcopy_light_tests --- ino/components/mcopy_light_tests/mcopy_light_tests.ino | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ino/components/mcopy_light_tests/mcopy_light_tests.ino b/ino/components/mcopy_light_tests/mcopy_light_tests.ino index e9168c7..c87adf1 100644 --- a/ino/components/mcopy_light_tests/mcopy_light_tests.ino +++ b/ino/components/mcopy_light_tests/mcopy_light_tests.ino @@ -1,4 +1,12 @@ //Test lighting with NeoPixels instead of Pixies to prevent eye damage. +//NeoPixel wiring, put 1000uF cap across 5V and GND and 470ohm resistor +//in series with the data connection to the Arduino pin +// +// ARDUINO NEOPIXEL +// 5VDC --|--| 1000uF 5V +// GND --|--| 1000uF GND +// PIN 3 --==-- 470ohm Din + //#include "SoftwareSerial.h" //#include "Adafruit_Pixie.h" @@ -90,7 +98,7 @@ void colorString () { //Wait for color string } color = Serial.readString(); - //Serial.println(color); + Serial.println(color); commaR = color.indexOf(','); //comma trailing R commaG = color.indexOf(',', commaR + 1);