Skip to content

Commit fe9910e

Browse files
committed
lilygo tdeck
1 parent 06b4a0b commit fe9910e

File tree

2 files changed

+17
-22
lines changed

2 files changed

+17
-22
lines changed

display_configs/LilyGo-TDeck/pins.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
_I2S_WS = const(5)
3+
_I2S_DA = const(6)
4+
_I2S_BCK = const(7)
5+
6+
_C3_INT = const(46)
7+
8+
_ES7210_DIN = const(14)
9+
_ES2710_LRCK = const(21)
10+
_ES2710_SCLK = const(47)
11+
_ES2710_MCLK = const(48)
12+
13+
14+
_GPIO0 = const(0)
15+
16+
_UART0_RX = const(43)
17+
_UART0_TX = const(44)

display_configs/LilyGo-TDeck/trackball.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,6 @@
44
import machine
55
from micropython import const # NOQA
66

7-
_I2S_WS = const(5)
8-
_I2S_DA = const(6)
9-
_I2S_BCK = const(7)
10-
11-
_C3_INT = const(46)
12-
13-
_ES7210_DIN = const(14)
14-
_ES2710_LRCK = const(21)
15-
_ES2710_SCLK = const(47)
16-
_ES2710_MCLK = const(48)
17-
18-
19-
_GPIO0 = const(0)
20-
21-
_LCD_CS = const(12)
22-
_LCD_DC = const(11)
23-
_LCD_EN = const(42)
24-
25-
_UART0_RX = const(43)
26-
_UART0_TX = const(44)
27-
28-
297
_UP = 0x01
308
_DOWN = 0x02
319
_LEFT = 0x04

0 commit comments

Comments
 (0)