This library is a mimic of the original M5Stack and next generation M5Core2 libraries and right now supports the Maix Amigo and Maix Go development devices under the Sipeed Maixduino Arduino core.
This is still beta quality, most examples will fail due to the minor syntax changes. Support coming soon:
GFX implementation is based on famous Bodmer/TFT_eSPI library and courtesy of @fukuenbiz who shared his K210 driver code for the library fukuen/TFT-eSPI.
Choose between managed install:
- Get it from the Arduino Library Manager
or manual install:
- Download the latest release and unzip it in the
~/Arduino/libraries
folder. - You're done!
Automatic board selection is based on the boards.txt definition, so changing the board from the Arduino IDE Tools menu is enough to trigger the detection.
Onboard I2C devices
IC | I2C address | DeviceID | Irq |
AXP173 | 0x34 | 0x68 | ? |
ES8374 | 0x10 | 0x08 | --- |
FT6336 | 0x38 | 0x36 | 33 |
MSA301 | 0x26 | 0x13 | --- |
Onboard Grove ports
PIN | GROVE1 | GROVE2 | GROVE3 |
1 | GND | GND | GND |
2 | 3V3 | 3V3 | 3V3 |
3 | IO5 | IO3 | IO1 |
4 | IO4 | IO2 | IO0 |
Onboard SPMOD ports
PIN | SPMOD1 | SPMOD2 | SPMOD3 |
1 | GND | GND | GND |
2 | IO12 | IO29 | --- |
3 | IO6 | IO28 | --- |
4 | IO24 | IO22 | IO24 |
5 | IO27 | IO25 | IO27 |
6 | IO10 | IO30 | --- |
7 | IO11 | IO8 | --- |
8 | 3V3 | 3V3 | 3V3 |