# M5Stack 库
[English](../README.md) | 中文 | [日本語](getting_started_ja.md)
## 1. 上手指南
*1.For MacOS*
https://docs.m5stack.com/#/zh_CN/quick_start/m5core/m5stack_core_get_started_Arduino_MacOS
*2. For Windows*
https://docs.m5stack.com/#/zh_CN/quick_start/m5core/m5stack_core_get_started_Arduino_Windows
## 2. 例程
https://github.com/m5stack/M5Stack/tree/master/examples
## 3. API 参考
https://github.com/m5stack/M5Stack/blob/master/src/M5Stack.h#L19
https://docs.m5stack.com/#/zh_CN/api
## 4. H/W 参考
#### 管脚映射
*我们有几款不同配置的主控 M5Cores,这是他们之间的[对比](https://github.com/m5stack/M5-Schematic/blob/master/Core/hardware_difference_between_cores.md).*
**LCD & TF Card**
*LCD 分辨率: 320x240*
ESP32 Chip | GPIO23 | GPIO19 | GPIO18 | GPIO14 | GPIO27 | GPIO33 | GPIO32 | GPIO4 |
ILI9341 | / | MISO | CLK | CS | DC | RST | BL | |
TF Card | MOSI | MISO | CLK | | | | | CS |
**Button & Speaker**
ESP32 Chip | GPIO39 | GPIO38 | GPIO37 | GPIO25 |
Button Pin | BUTTON A | BUTTON B | BUTTON C |
Speaker | | | | Speaker Pin |
**GROVE A**
ESP32 Chip | GPIO22 | GPIO21 |
GROVE A | SCL | SDA |
### M-BUS

#### Note:
* 如何安装 CP210x 串口驱动
https://docs.m5stack.com/#/zh_CN/related_documents/establish_serial_connection
* 如何升级 M5Stack 库
https://docs.m5stack.com/#/zh_CN/related_documents/upgrade_m5stack_lib