#include "WS2812IR.hpp"

constexpr byte IRPin =  2;   // Signal Pin of IR receiver
IRrecv receiver(IRPin);

constexpr byte pixelCount = 30;
CRGB pixels[pixelCount];

constexpr byte stripPin = 3;
WS2812IR wsir(&receiver, pixels, pixelCount);

void setup() {
  FastLED.addLeds<WS2812B, stripPin, GRB>(pixels, pixelCount);
  Serial.begin(115200);
  wsir.begin();
}

void loop() {
  wsir.listenIR();
}