#include <Adafruit_NeoPixel.h>
#include "hp.h"
Adafruit_NeoPixel pixels(10, 2, NEO_GRB + NEO_KHZ800);
Hp *h = new Hp();
void setup() {
pixels.begin();
pixels.clear();
h->start_id = 0;
h->pixels = &pixels;
}
void loop() {
for (int i = 0; i < 10; i++) {
h->set(i);
delay(500);
}
h->set(ON);
delay(500);
h->set(OFF);
delay(500);
}