Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

Commit 80a6c5b

Browse files
committed
update spi speed
1 parent 9c65cfe commit 80a6c5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • MicroPython_BUILD/components/micropython/esp32/modules

MicroPython_BUILD/components/micropython/esp32/modules/m5stack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def delay(ms):
152152

153153
# LCD
154154
lcd = lcd.TFT()
155-
lcd.init(lcd.M5STACK, width=240, height=320, speed=27000000, rst_pin=33, backl_pin=32, miso=19, mosi=23, clk=18, cs=14, dc=27, bgr=True, backl_on=1, invrot=3)
155+
lcd.init(lcd.M5STACK, width=240, height=320, speed=40000000, rst_pin=33, backl_pin=32, miso=19, mosi=23, clk=18, cs=14, dc=27, bgr=True, backl_on=1, invrot=3)
156156
lcd.clear()
157157
lcd.setBrightness(500)
158158
lcd.setColor(0xCCCCCC)

0 commit comments

Comments
 (0)