Welcome to DFRobot: www.DFRobot.com.cn 46 / 49
Caution: We could only support Deep_sleep mode in the example of power-down modes, for the
improvement of Arduino’ Support-Confidence.
Enter code (1)
Open Arduino IDE. You would better enter the code manually than open Course-> Item-9-1 to be
familiar with it.
Sample code:
void setup() {
// put your setup code here, to run once:
pinMode(D9,OUTPUT);
digitalWrite(D9,HIGH);
delay(1000);
digitalWrite(D9,LOW);
ESP.deepSleep(5000000);
}
void loop() {
// put your main code here, to run repeatedly:
}
Please click verify/compile to review and please upload it after the confirmation.
Once you click Upload, IDE will send codes to FireBeetle Board-ESP32.