Download Print this page

DFRobot FireBeetle ESP32-E Manual page 37

Advertisement

leds[0] = CRGB::Blue;
FastLED.show();
delay(500);
}
Member Functions
leds[0] = CRGB::Red
Description: set the LED No.0 to red
FastLED.show()
Description: light up or change LED color
leds[0].r = 255
Description: Set the R value of the first LED on the LED strip to 255
leds[0].g = 125
Description: Set the G value of the first LED on the LED strip to 125
leds[0].b = 0
Description: Set the B value of the first LED on the LED strip to 0
7.8 Sleep Mode
In sleep mode, the power consumption can be reduced to 10μA (disconnect the low-power pad). The following will demonstrate how to enter
the sleep mode at a set time.

Advertisement

loading
Need help?

Need help?

Do you have a question about the FireBeetle ESP32-E and is the answer not in the manual?

Questions and answers

Related Products for DFRobot FireBeetle ESP32-E

This manual is also suitable for:

Dfr0654