====== NRF52 Neopixel ===== Reference: https://github.com/adafruit/Adafruit_NeoPixel #include #include #include #define LED_PIN 17 #define LED_COUNT 8 Adafruit_NeoPixel strip(LED_COUNT, LED_PIN); void setup() { Serial.begin(115200); strip.begin(); strip.show(); } void loop() { strip.clear(); strip.setPixelColor(1,0,0,255); strip.show(); delay(1000); strip.clear(); strip.setPixelColor(6,0,0,255); strip.show(); delay(1500); }