Board Manager Installation: Refer to the
Basic Environment Setup Tutorial
to install the M5Stack board manager and select the M5StamPLC development board.
Library Installation: Refer to the
Library Manager Installation Tutorial
to complete the installation of the M5StamPLC, M5Unified, and M5GFX driver libraries.
2. Download Mode
Press and hold the Boot button on the StamPLC. Once the red light turns on, release it; the device will then enter download mode.
3. Port Selection
Connect the device to your computer via a USB cable. After the device enters download mode, you can select the corresponding device port in the Arduino IDE.
4. Program Compilation & Flashing
Open the "display" example program from the driver library, click the upload button, and the program will be automatically compiled and flashed.