Skip to content

Contributed by jkernet, curated by Ai-Thinker

Modified from the post by master jkernet: (6) Recording a simple WebServer on the Xiao An Pai - Xiao An Pai S1 & M61 tutorial collection - IoT Developer Community - Ai-Thinker Forum

Set the WiFi to connect to.

The IP address can be seen on the serial port (baud rate 115200) after connecting to WiFi. Any device accessing the page gets the real LED state.

About the difference of boot2_isp_mode in flash_prog_cfg.ini: When set to 0, you need to hold IO2 and press RST once to flash. When set to 1, just press RST once to flash.

This is the effect when off; the yellow light is just a power indicator.

The white light is the web-controlled LED. In the on effect, the white LED is so bright that the yellow light can't be seen.

One more thing: extract the archive to the same directory as the SDK.

Have questions?

For other questions, please visit the unified discussion area: Ai-Thinker Discussions

Released under the MIT License. Build Time 2026-09-11 14:52:23