Skip to content

Commit d09acce

Browse files
mikeysklarclaude
andcommitted
SSD1683 4-gray: trim PR-explainer references from example and driver comments
Address review feedback: rewrite the example docstring to match the #4197 grayscale example style and drop adafruit_epd PR #111 references from the example and the DISP_CTRL1 comment. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ae0ee3a commit d09acce

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

adafruit_ssd1680.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
b"\x0c\x00\x04\x8b\x9c\xa4\x0f" # BOOST_SOFTSTART
114114
b"\x11\x00\x01\x03" # RAM data entry mode
115115
b"\x3c\x00\x01\x03" # border
116-
b"\x21\x00\x02\x00\x00" # DISP_CTRL1 (no source-line shift; matches adafruit_epd PR #111)
116+
b"\x21\x00\x02\x00\x00" # DISP_CTRL1 (no source-line shift)
117117
b"\x3f\x00\x01\x07" # END_OPTION
118118
b"\x03\x00\x01\x17" # gate voltage
119119
b"\x04\x00\x03\x41\xa8\x32" # source voltage

examples/ssd1683_4.2_grayscale_6381.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
#
33
# SPDX-License-Identifier: Unlicense
44

5-
"""4-gray grayscale info card for the Adafruit 4.2" 400x300 E-Ink Display (#6381).
5+
"""4-gray "ThinkInk" info card for the Adafruit 4.2" 400x300 E-Ink Display (#6381).
66
7-
displayio / SSD1683 driver. Layout mirrors the adafruit_epd PR #111 example:
8-
big built-in font (scale 3-4) and a tall 4-box gray ramp that fills the panel.
9-
FPC-190 ribbon. Tested on Adafruit Feather RP2040 ThinkInk.
7+
A grayscale take on the factory demo: product text plus a 4-level gray ramp
8+
(white / light / dark / black) that shows all four shades at once.
109
"""
1110

1211
import time
@@ -60,7 +59,7 @@
6059
bg.fill(WHITE)
6160
g.append(displayio.TileGrid(bg, pixel_shader=pal))
6261

63-
# Big text, sized to fill the 400px width (matches PR #111: scale 3-4)
62+
# Big text, sized to fill the 400px width
6463
texts = [
6564
("Adafruit ThinkInk", 6, 10, 3, 0x000000),
6665
('4.2" 400x300', 6, 50, 4, 0x000000),

0 commit comments

Comments
 (0)