EasyManua.ls Logo

DFRobot FireBeetle ESP32-E - Page 37

DFRobot FireBeetle ESP32-E
92 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.