Skip to content

Commit 2e9dcc6

Browse files
committed
Fix: white edge bug;MPU6886 example
Add: PlatformIO Compilation
1 parent b63beae commit 2e9dcc6

File tree

5 files changed

+29
-3
lines changed

5 files changed

+29
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ English | [中文](README_cn.md)
1818
- IoT node
1919
- Wearable peripherals
2020

21+
## PlatformIO Compilation
22+
23+
[Compilation File](https://github.com/m5stack/M5AtomS3/blob/main/platformio.ini)
24+
2125
## Schematic
2226

2327
<img alt="schematics" src="https://static-cdn.m5stack.com/resource/docs/products/core/AtomS3/img-b85e925c-adff-445d-994c-45987dc97a44.jpg" width="100%" />

README_cn.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
- 微型控制器
1717
- 可穿戴设备
1818

19+
## PlatformIO 编译
20+
21+
[编译文件](https://github.com/m5stack/M5AtomS3/blob/main/platformio.ini)
22+
1923
## 原理图
2024

2125
<img alt="schematics" src="https://static-cdn.m5stack.com/resource/docs/products/core/AtomS3/img-b85e925c-adff-445d-994c-45987dc97a44.jpg" width="100%" />

examples/Basics/MPU6886/MPU6886.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function will be run, and this part will only be run once.
1717
在 AtomS3 启动或者复位后,即会开始执行setup()函数中的程序,该部分只会执行一次。
1818
*/
1919
void setup() {
20-
M5.begin(true, true, false,
20+
M5.begin(true, true, true,
2121
false); // Init AtomS3(Initialize LCD, serial port).
2222
// 初始化 AtomS3(初始化LCD、串口)
2323
M5.IMU.begin(); // Init IMU sensor. 初始化姿态传感器

platformio.ini

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
; PlatformIO Project Configuration File
2+
;PlatformIO recommended configuration
3+
4+
[env:M5AtomS3]
5+
platform = espressif32
6+
board = esp32-s3-devkitc-1
7+
lib_ldf_mode = deep
8+
framework = arduino
9+
upload_port = /dev/cu.usbmodem14401
10+
upload_speed = 1500000
11+
monitor_speed = 115200
12+
monitor_port = /dev/cu.usbmodem14401
13+
board_build.f_cpu = 240000000L
14+
board_build.f_flash = 80000000L
15+
board_build.flash_mode = dio
16+
build_flags =
17+
-DCORE_DEBUG_LEVEL=3
18+
-Iinclude

src/utility/In_eSPI_Setup.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
// parameters below for this display
55

66
#define TFT_DRIVER 0x7789
7-
#define TFT_WIDTH 128
8-
#define TFT_HEIGHT 128
7+
#define TFT_WIDTH 129
8+
#define TFT_HEIGHT 129
99

1010
#define TFT_MISO -1
1111
#define TFT_MOSI 21

0 commit comments

Comments
 (0)