This example demonstrates WiFi scanning, connection, and status display on OpenNextion 2.8‑inch and 3.5‑inch devices.

Before starting, ensure the USB cable supports data transfer and maintain a stable connection between the board and your computer.
After successful flashing, the board will automatically restart.
Turn on the WiFi switch, select the detected WiFi network and enter the password to connect. The WiFi icon status will update automatically upon successful connection.