Skip to content

Commit e341235

Browse files
authored
feat(st7789): add board (#43)
240x240 LCD display module, based on the ST7789 chip.
1 parent 272990c commit e341235

File tree

2 files changed

+123
-0
lines changed

2 files changed

+123
-0
lines changed

boards/st7789/board.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "ST7789 1.54in Display",
3+
"version": 1,
4+
"description": "A common ST7789 240x240 display",
5+
"author": "Christopher White",
6+
"width": 32,
7+
"height": 44,
8+
"chips": [{ "id": "chip", "type": "github:Whiteeeey/[email protected]"}],
9+
"pins": {
10+
"GND": { "x": 6.8, "y": 1.25, "target": "chip:GND" },
11+
"VCC": { "x": 9.34, "y": 1.25, "target": "chip:VCC" },
12+
"SCL": { "x": 11.88, "y": 1.25, "target": "chip:SCL" },
13+
"SDA": { "x": 14.42, "y": 1.25, "target": "chip:SDA" },
14+
"RST": { "x": 16.96, "y": 1.25, "target": "chip:RST" },
15+
"DC": { "x": 19.50, "y": 1.25, "target": "chip:DC" },
16+
"CS": { "x": 22.04, "y": 1.25, "target": "chip:CS" },
17+
"BL": { "x": 24.58, "y": 1.25, "target": "chip:BL" },
18+
},
19+
20+
"displays": [
21+
{
22+
"id": "chip",
23+
"x": 0.459,
24+
"y": 5.151,
25+
"width": 31,
26+
"height": 31,
27+
"pixelWidth": 240,
28+
"pixelHeight": 240,
29+
"chip": "chip-st7789"
30+
}
31+
]
32+
}

boards/st7789/board.svg

Lines changed: 91 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)