EasyManua.ls Logo

DFRobot FireBeetle ESP32-E - Page 40

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...
}
void loop(){
//This is not going to be called
}
Member Functions
esp_sleep_get_wakeup_cause()
DescriptinCheck which wake-up source triggered a wake-up from sleep mode
esp_deep_sleep_start()
DescriptinEnter sleep mode
esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR)
Descriptinuser timer to start wake-up from deep sleep.
8. Arduino Tutorial Basics
8.1 GPIO
Digital IO
digitalRead(pin)
Description: Reads the value from a specified digital pin, either HIGH or LOW.
Parameter:
pinthe Arduino pin number you want to read
digitalWritepin,value
Description: Write a HIGH or a LOW value to a digital pin. Parameter: