ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
example_lowpower.cpp File Reference
#include <Arduino.h>
#include <ArduinoLog.h>

Go to the source code of this file.

Functions

void setup ()
 
void loop ()
 

Function Documentation

◆ loop()

void loop ( )

Definition at line 34 of file example_lowpower.cpp.

◆ setup()

void setup ( )

Example code to put the esp32 into a deep sleep mode.

The start of the code waits 5 seconds before entering a deep sleep state so that it can be verified that the esp32 is in fact going into deep sleep.

Author
John Madden
Date
2025-06-30

Definition at line 14 of file example_lowpower.cpp.