- Download the SiLabs CP2104 Driver (Note:If you cannot upload, please try the legacy v4 driver below. Note you will need to uninstall the v5 driver.And try to use the low band: 115200)
- Using Arduino IDE
- Using PlatformIO
- Building with make
- Using as ESP-IDF component
- Choose
Sketch
->Include Library
->Manage Libraries...
- Type
m5stack
into the search box. - Click the row to select the library.
- Click the
Install
button to install the library. - Click "File-> Examples". Here are some test programs in "M5Stack->"
cd ~/Documents/Arduino/libraries/
git clone https://github.com/m5stack/M5Stack.git
See API.
See examples folder.
Peripheral Devices | ESP32 |
---|---|
ILI9341 RST | GPIO33 |
ILI9341 DC | GPIO27 |
ILI9341 CS | GPIO14 |
ILI9341 MOSI | GPIO23 |
ILI9341 CLK | GPIO18 |
ILI9341 LIGHT | GPIO32 |
TFCARD MOSI | GPIO23 |
TFCARD MISO | GPIO19 |
TFCARD CLK | GPIO18 |
TFCARD CS | GPIO4 |
BUTTON A | GPIO39 |
BUTTON B | GPIO38 |
BUTTON C | GPIO37 |
SPEAKER | GPIO25 |
MPU9250 SDA | GPIO21 |
MPU9250 SCL | GPIO22 |
GOVER SDA | GPIO21 |
GOVER SCL | GPIO22 |