#include #define PIN 3 String myString; Adafruit_NeoPixel strip = Adafruit_NeoPixel(100, PIN, NEO_GRB + NEO_KHZ400); void setup() { Serial.begin(115200); strip.begin(); strip.show(); } void loop() { while (Serial.available() > 0) { int r0 = Serial.parseInt(); int g0 = Serial.parseInt(); int b0 = Serial.parseInt(); int key = Serial.parseInt(); if (Serial.read() == '\n') { strip.setPixelColor(key, r0, g0, b0); strip.show(); } } }