English
English
简体中文
日本語

Arduino Quick Start

2. Devices & Examples

5. Extensions

6. Applications

CoreP4X Arduino Program Compile & Upload

1. Preparation

  • 3. Dependency Library Installation: Refer to the Library Manager Installation Tutorial to complete the installation of the M5Unified and M5GFX libraries, and install all dependent libraries as prompted.

2. Download Mode

Connect the USB-C Data/PwrIn port of the CoreP4X with a USB Type-C data cable. Normally, the program can be uploaded directly. If an upload error occurs, long-press the power button to enter download mode, and release it after the device is recognized by the computer.

3. Port Selection

Connect the device to the computer with a USB Type-C data cable, and select the corresponding device port in the Arduino IDE.

4. Program Compile & Upload

Open the BarGraph example in the M5GFX library, select the M5CoreP4X board, and click the upload button; the program will be compiled and uploaded.

The display effect is as follows:

Page Tools
PDF
On This Page