ESP32-C6 Low Power example - using an I2C light sensor (BH1750) to wake up the chip from deep sleep + Wokwi simulation.
For more information about the example:
- Install Wokwi Simulator Extension for Visual Studio Code.
- Clone this repository and open it in Visual Studio Code.
- Press "F1" and select "Wokwi: Start Simulator". If this is the first time you run the simulator, Wokwi will ask you to get a license and activate it.
- Install ESP-IDF from GitHub (master branch)
- Go to examples/system/lp_core/lp_i2c
- Run the following commands:
idf.py set-target esp32c6 idf.py build
- Copy build/lp_i2c_example.elf to firmware/lp_i2c_example.elf in this repo.