Skip to content

Commit 75e7797

Browse files
author
ctrmint
authored
Update touch_LCD.py
changed the pinouts.
1 parent a055e5c commit 75e7797

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

touch_LCD.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@
99
I2C_INT = 17
1010
I2C_RST = 16
1111

12-
DC = 14
12+
DC = 8
1313
CS = 9
1414
SCK = 10
1515
MOSI = 11
1616
MISO = 12
17-
RST = 8
18-
19-
BL = 15
17+
RST = 13
18+
BL = 25
2019

2120
#LCD Driver LCD
2221
class LCD_1inch28(framebuf.FrameBuffer):
@@ -657,4 +656,4 @@ def Int_Callback(self,pin):
657656
def Timer_callback(self,t):
658657
self.l += 1
659658
if self.l > 100:
660-
self.l = 50
659+
self.l = 50

0 commit comments

Comments
 (0)