M5AtomS3R Program Compilation & Upload
1. Preparation
- Arduino IDE Installation: Follow the
Arduino IDE Installation Guide
to complete the IDE installation.
- Board Manager Installation: Refer to the
Basic Setup Guide
to install the M5Stack board manager and select the
M5AtomS3R
development board.
- Library Installation: Follow the
Library Installation Guide
to install the
M5AtomS3
driver library. (The M5AtomS3R can directly use the M5AtomS3 driver library.)
2. Download Mode
- Long press the reset button (for about 2 seconds) until the internal green LED lights up, then release the button. The device is now in download mode, waiting for the program to be uploaded.
M5AtomS3R
3. Port Selection
Connect the device to your computer via a USB cable. After completing the driver installation, you can select the corresponding device port in the Arduino IDE.
4. Program Compilation & Upload
Open the example program "display" from the driver library, click the upload button, and the program will be automatically compiled and uploaded to the device.
The result is shown below:
Github:
Arduino API & Examples: