Arduino Quick Start
1.Install Arduino IDE: Refer to the Arduino IDE Installation Guide to complete the IDE setup.
2.Install board package: Refer to the Basic Setup Guide to install the M5Stack board package and select M5PaperS3
as the development board.
M5Unified
and M5GFX
driver libraries, and install all required dependencies as prompted.0.2.5
, M5GFX version >= 0.2.7
. The previously required epdiy
library is no longer needed in the latest versions.Connect the device to your computer via USB. Long press the power button on the M5PaperS3 until the back LED blinks red. This indicates that the device has entered download mode.
Wait for the port to be recognized, then select the corresponding port in the Arduino IDE.
Open the BarGraph
example from the M5GFX
driver library and click the Upload button. The program will begin compiling and uploading.
GitHub
Arduino API & Examples