Skip to content

Commit a412467

Browse files
committed
Update display init for tinypico explorer shield
1 parent 9582f9a commit a412467

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tinypicost7789/freeze/st7789.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def reset(self):
2727
(b'\xb2', # PORCTRL
2828
b'\x0c\x0c\x00\x33\x33'),
2929
(b'\xb7', b'\x35'), # GCTRL
30-
(b'\xbb', b'\x28'), # VCOMS
30+
(b'\xbb', b'\x38'), # VCOMS
3131
(b'\xc0', b'\x2c'), # LCMCTRL
3232
(b'\xc2', b'\x01\xff'), # VDVVRHEN
3333
(b'\xc3', b'\x12'), # VRHS

tinypicost7789/freeze/ugame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_pressed(self):
5050
return mask
5151

5252

53-
spi = SPI(2, baudrate=40_000_000, sck=Pin(18), mosi=Pin(23))
53+
spi = SPI(2, baudrate=80_000_000, sck=Pin(18), mosi=Pin(23))
5454
display = st7789.Display(spi, Pin(4, Pin.OUT), Pin(14, Pin.OUT))
5555
display.clear()
5656
i2c = I2C(sda=Pin(21), scl=Pin(22))

0 commit comments

Comments
 (0)