Skip to content

Commit 58c49a2

Browse files
authored
Update README.md
Describe the class members
1 parent 628404c commit 58c49a2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55

66
English | [中文](docs/getting_started_cn.md) | [日本語](docs/getting_started_ja.md)
77

8+
The M5Stack library provides access to the built-in hardware of the M5Stack Basic and Gray controllers through the M5Stack class, including:
9+
- LCD display via `M5.Lcd`, a customized version of the [TFT_eSPI](https://github.com/Bodmer/TFT_eSPI) LCD library, adapted for Basic and Gray. The display resolution is 320x240 supporting 262K colors. Several fonts, graphics primitives, and JPEG support are included.
10+
- Power management via `M5.Power`
11+
- Hardware buttons via `M5.BtnA`, `M5.BtnB`, `M5.BtnC`
12+
- Speaker, via `M5.Speaker`, supporting tones, volume control, and basic wave audio playback
13+
- Accelerometer, via `M5.Imu`, `M5.Mpu6886`, or `M5.Sh200Q` (accelerometer type depends on version of Basic/Gray)
14+
815
<img src="https://static-cdn.m5stack.com/resource/docs/static/assets/img/product_pics/core/gray/gray_01.webp" alt="gray" width="350" height="350"><img src="https://static-cdn.m5stack.com/resource/docs/static/assets/img/product_pics/core/basic/basic_01.webp" alt="basic" width="350" height="350">
916

1017
* **Hardware documentation for [Gray v1.0 (EOL)](https://docs.m5stack.com/en/core/gray)**
@@ -13,7 +20,7 @@ English | [中文](docs/getting_started_cn.md) | [日本語](docs/getting_starte
1320

1421
* **[Buy Basic](https://shop.m5stack.com/products/esp32-basic-core-iot-development-kit-v2-7)**
1522

16-
*[Comparison of M5Stack controllers](https://docs.m5stack.com/en/products_selector).*
23+
*[Comparison of M5Stack controllers](https://docs.m5stack.com/en/products_selector)*
1724

1825
### M-BUS
1926
![image](docs/M-BUS.jpg)

0 commit comments

Comments
 (0)