pdf-icon

Arduino Quick Start

2. Devices & Examples

6. Applications

Unit PoE-P4 Arduino Program Compilation & Upload

1. Preparation

  • 3.Library Installation: Refer to Library Management Installation Guide to complete the installation of M5Unified and M5GFX driver libraries, and follow the prompts to install all the required libraries.

2. Download Mode

Connect the device to your computer via a USB Type-C cable. Press and hold the side reset button for about 2 seconds until the green LED lights up. Release the button and the device will enter download mode, ready for programming.

3. Program Compilation & Upload

Open the built-in example program Basic -> AnalogReadSerial in Arduino, click the upload button, and the program will be compiled and uploaded to the Unit PoE-P4.

After uploading, open the Serial Monitor and set the baud rate to 115200 to view the analog input values.

On This Page