This is the documentation for the latest (main) development branch. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

light sleep

Overview

This example shows how to use a light sleep mode with low power consumption.

Requirements

No special requirements.

Building and Flashing

Example Location: examples/low_power/light_sleep

For compilation, burning, and more information, see: Quick Start Guide

Running Result

Upon successful execution, the following logs will be output (Due to possible differences between versions, specific details shall be subject to the actual version used)

[I] (12) main: ver: 2.3-alpha.1 build at Jan 16 2025 12:47:49
[I] (18) main: boot reason 0
[I] (21) main: heap size 271824(265.45KB)
[I] (25) main: flash size 0x200000(2MB)
[I] (31) demo: hello world.
[I] (1034) demo: hello world.
[I] (2038) demo: hello world.
[I] (3041) demo: hello world.