English
English
简体中文
日本語

Arduino Quick Start

2. Devices & Examples

5. Extensions

6. Applications

Compile and Upload Arduino Examples for ToughC5

1. Preparation

  • 3. Install the required libraries: Follow the Library Manager installation guide to install the latest M5Unified and M5GFX libraries, then install all dependencies as prompted.

2. Download Mode

Normally, you can upload a program to ToughC5 directly through its USB cable. If an upload error occurs during development, remove the enclosure and press and hold the power button to force download mode.

3. Select a Port

Connect the device to the computer with a USB cable. If the USB driver is installed correctly, select the corresponding device port in Arduino IDE.

4. Compile and Upload the Program

Open the BarGraph example in the M5GFX library and click Upload to compile and upload the program.

The display output is shown below:

Page Tools
PDF
On This Page