Skip to content

Commit 5dd1097

Browse files
mikeysklarclaude
andcommitted
MagTag SSD1680 FPC-7519rev.b: tune VCOM to 0x14 (-1.0V)
Testing across 0x28→0x20→0x1c→0x18→0x14→0x10 confirmed 0x14 as the sweet spot: background matches the FPC-7619rev.b panel without the dark halo fringe artifacts that appear below 0x14. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c16d316 commit 5dd1097

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • ports/espressif/boards/adafruit_magtag_2.9_grayscale

ports/espressif/boards/adafruit_magtag_2.9_grayscale/board.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ const uint8_t ssd1680_display_start_sequence[] = {
128128
0x22, 0x00, 0x01, 0xc7 // display update mode
129129
};
130130

131-
// FPC-7519rev.b (User ID byte 0xca) requires VCOM=0x20 (-1.5V) for correct contrast.
131+
// FPC-7519rev.b (User ID byte 0xca) requires lower VCOM for correct contrast.
132132
// The 0x44 panel works correctly with the default VCOM=0x28, so keep them separate.
133133
const uint8_t ssd1680_vcom20_display_start_sequence[] = {
134134
0x12, DELAY, 0x00, 0x14, // soft reset and wait 20ms
135135
0x11, 0x00, 0x01, 0x03, // Ram data entry mode
136136
0x3c, 0x00, 0x01, 0x03, // border color
137-
0x2c, 0x00, 0x01, 0x20, // Set vcom voltage (0x20 = -1.5V, tuned for FPC-7519rev.b)
137+
0x2c, 0x00, 0x01, 0x14, // Set vcom voltage (0x14 = -1.0V, tuned for FPC-7519rev.b)
138138
0x03, 0x00, 0x01, 0x17, // Set gate voltage
139139
0x04, 0x00, 0x03, 0x41, 0xae, 0x32, // Set source voltage
140140
0x4e, 0x00, 0x01, 0x01, // ram x count

0 commit comments

Comments
 (0)