#include #define PIN 2 #define NUM_LIGHTS 16 Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LIGHTS, PIN, NEO_GRB + NEO_KHZ800); #include int redLed = 6; int greenLed = 4; int blueLed = 5; int RECV_PIN = 3; IRrecv irrecv(RECV_PIN); decode_results results; void setup() { strip.begin(); strip.setBrightness(25); strip.show(); pinMode(redLed, OUTPUT); pinMode(greenLed, OUTPUT); pinMode(blueLed, OUTPUT); irrecv.enableIRIn(); Serial.begin(9600); } void loop() { if (irrecv.decode(&results)) { Serial.println(results.value, HEX); irrecv.resume(); // Receive the next value if(results.value== 0xFD08F7)//1 { uint32_t high = strip.Color(255,255,255);//white uint32_t low = strip.Color(0, 0, 0); for( int i = 0; i