Skip to content

ThinkInk_213_Grayscale4_MFGN: add optional colstart#97

Open
mikeysklar wants to merge 2 commits into
adafruit:masterfrom
mikeysklar:colstart-param-mfgn
Open

ThinkInk_213_Grayscale4_MFGN: add optional colstart#97
mikeysklar wants to merge 2 commits into
adafruit:masterfrom
mikeysklar:colstart-param-mfgn

Conversation

@mikeysklar

@mikeysklar mikeysklar commented May 30, 2026

Copy link
Copy Markdown
Contributor

Adds an optional colstart parameter to ThinkInk_213_Grayscale4_MFGN allows user settable offset for SSD1680 panels. Default colstart will be set to 0 (same as existing behavior) some panels need to use 8.

ThinkInk_213_Grayscale4_MFGN display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY, EPD_SPI, /*colstart=*/8);

Tested

Photo-3

@mikeysklar mikeysklar changed the title ThinkInk_213_Grayscale4_MFGN: add optional colstart parameter ThinkInk_213_Grayscale4_MFGN: add optional colstart May 30, 2026
Exposes the panel's left RAM-X offset via an optional `colstart` constructor
argument (pixels, default 0), so the 8px offset some 2.13" SSD1680 panels need
can be set from the sketch instead of editing _xram_offset in library source.

Default 0 preserves current behavior (no change for existing users). Pass
colstart=8 for the FPC-7528B revision of the 2.13" breakout, which otherwise
shows an 8px unwritten strip on the left edge. Verified on a Feather RP2350.

Refs the workaround in adafruit#77 ("you need to set _xram_offset = 0").

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mikeysklar mikeysklar force-pushed the colstart-param-mfgn branch from 613c4f0 to 50a3da2 Compare May 30, 2026 17:38
Comment only at the MFGN panel line pointing out that some 2.13" SSD1680
revisions (e.g. FPC-7528B) need a trailing colstart=8 argument. No behavior
change to the example.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant