All Messages

Q: Is there an example for the on board RGB LED?

Asked by Anton on 2022-06-28 05:02:57

BG422506451 #include #define RGBLED_PIN 2 Adafruit_NeoPixel strip = Adafruit_NeoPixel(1, RGBLED_PIN, NEO_GRB + NEO_KHZ800); strip.begin(); strip.setBrightness(255); strip.setPixelColor(0, strip.Color(0, 255, 0)); strip.show();

2023-06-24 11:50:42 Helpful (0)
Submit
Answers (3)