Commit 2e2642d
committed
Add support for 2.8" round TURZX USB display (PID 0x0028)
Register the 2.8" round panel (480x480, USB Product ID 0x0028) with the
existing TURZX USB comm class. This is the new-generation USB variant of
the 2.8" screen, distinct from the older UART-based 2.1"/2.8" models.
Changes:
- Add PID 0x0028 to the PRODUCT_ID table in lcd_comm_turing_usb.py
- Add a new size option in configure.py for the GUI dropdown
- Fix a latent bug in load_config_values where .replace() on size strings
could produce corrupted values like '2.1" / 2.1" / 2.8"' due to
substring matching — switched to equality checks instead
- Update README supported sizes list1 parent 581e8f6 commit 2e2642d
3 files changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| 112 | + | |
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
| |||
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| 137 | + | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
433 | 437 | | |
434 | 438 | | |
435 | 439 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
440 | 444 | | |
441 | 445 | | |
442 | 446 | | |
| 447 | + | |
| 448 | + | |
443 | 449 | | |
444 | 450 | | |
445 | 451 | | |
| |||
587 | 593 | | |
588 | 594 | | |
589 | 595 | | |
590 | | - | |
| 596 | + | |
591 | 597 | | |
592 | 598 | | |
593 | 599 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
0 commit comments