Skip to content

Commit 92e6e57

Browse files
committed
feat(esp32-s3-box): touch screen controller
1 parent 1586bee commit 92e6e57

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

boards/esp32-s3-box/board.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@
4545
"$gpio5": { "target": ["GPIO5", "lcd1:CS"] },
4646
"$gpio6": { "target": ["GPIO6", "lcd1:MOSI"] },
4747
"$gpio7": { "target": ["GPIO7", "lcd1:SCK"] },
48-
"$gpio48": { "target": ["GPIO48", "lcd1:RST"] },
48+
"$gpio48": { "target": ["GPIO48", "lcd1:RST", "touch1:RST"] },
4949

50-
"$gpio8": { "target": "GPIO8" }, // SDA
51-
"$gpio18": { "target": "GPIO18" } // SCL
50+
"$gpio3": { "target": ["GPIO3", "touch1:INT"] },
51+
"$gpio8": { "target": ["GPIO8", "touch1:SDA"] }, // SDA
52+
"$gpio18": { "target": ["GPIO18", "touch1:SCL"] } // SCL
5253
},
5354

5455
"displays": [
@@ -61,7 +62,11 @@
6162
"pixelWidth": 320,
6263
"pixelHeight": 240,
6364
"flipVertical": true,
64-
"chip": "ili9342c"
65+
"chip": "ili9342c",
66+
"touch": {
67+
"id": "touch1",
68+
"chip": "tt21100"
69+
}
6570
}
6671
],
6772

0 commit comments

Comments
 (0)