English
English
简体中文
日本語
pdf-icon

Arduino Quick Start

2. Devices & Examples

5. Extensions

6. Applications

StackChan Arduino Sample Program Build and Flash

1. Prerequisites

  • 3.Dependency Library Installation: Refer to the Library Manager Installation Guide to complete the M5StackChan driver library installation, and install all dependency libraries as prompted.

2. Download Mode

  • Press and hold the reset button (approximately 2 seconds) until the internal green LED lights up, then release. The device has now entered download mode and is ready for flashing.

3. Port Selection

Connect the device to your computer via a USB cable, then select the corresponding device port in the Arduino IDE.

4. Program Compilation & Flashing

Open the example program "RGB LED" from the driver library and click the upload button. The program will be compiled and flashed to the device automatically.

The example output is shown below:

On This Page