pdf-icon

Arduino Quick Start

2. Devices & Examples

Fire Arduino Program Compilation & Upload

1.Preparation

  • 3.Library Installation: Refer to the Library Management Installation Guide to complete the installation of the M5Stack driver library. and download all the dependent libraries according to the prompts.

2.USB Driver Installation

Driver Installation Tip
Click the link below to download the driver matching your operating system. There are currently two versions of the driver chip, CP210X (for the CP2104 version) and CP34X (for the CH9102 version). After unzipping the package, select the installation package corresponding to your operating system and proceed with the installation. (If you are unsure which USB chip your device uses, you can install both drivers. CH9102_VCP_SER_MacOS v1.7 may show an error during installation, but it has actually completed successfully, so you can ignore the error.)
Driver Name Applicable Driver Chip Download Link
CP210x_VCP_Windows CP2104 Download
CP210x_VCP_MacOS CP2104 Download
CP210x_VCP_Linux CP2104 Download
CH9102_VCP_SER_Windows CH9102 Download
CH9102_VCP_SER_MacOS v1.7 CH9102 Download
Port Selection on MacOS
On MacOS, there may be two available ports. When using them, please select the port named wchmodem.

3.Port Selection

Connect the device to the computer via a USB cable. After completing the driver installation, select the corresponding device port in the Arduino IDE.

4.Program Compilation & Upload

Open the sample program "BarGraph" in the M5GFX driver library, then click the upload button to automatically compile and flash the program.

The example program runs as follows:

5.Related Resources

On This Page