
Arduino Quick Start
1. Arduino IDE Installation: Refer to the Arduino IDE Installation Tutorial to complete the IDE installation.
2. Board Manager Installation: Refer to the Basic Environment Setup Tutorial to complete the M5Stack Board Manager installation and select the M5ChainCaptain board.
M5Unified and M5GFX libraries, and install all dependent libraries as prompted.
Normally, Chain Captain can be flashed directly through a USB Type-C cable. During development and debugging, if flashing fails, long-press the power button to force the device into download mode.
Connect the device to the computer with a USB cable. If the USB driver is installed correctly, you can select the corresponding device port in the Arduino IDE.
Open the BarGraph example in the M5GFX library and click the upload button; the program will be compiled and uploaded.
The display effect is as follows: