Question status: ANSWERED. Thank you for the help!
The question:
I am running an Arduino Uno, including the FastLED library (v3.1.6), and running a 300 pixel Neopixel led tape. Linked is the example sketch (the example works!) but I need to make a change and can’t figure out how. Instead of displaying blue as used in the demo, I need the first 100 pixels as green, the next 100 as yellow, and the last 100 as red.
Every attempt I have made to support this change has caused bizarre results.
@Matt_Wagner
Your code is illuminating the number of leds depending on the value is reading on pin2.
Then what do you wanna do 1/3. Red 1/3 blue 1/3green ?