Skip to content

Commit 4c7310e

Browse files
authored
support 7-color inky impression 7.3 detect opts (#107)
1 parent 6b31587 commit 4c7310e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

inky/opts.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ var (
3333
"Black wHAT (SSD1683)",
3434
"Red wHAT (SSD1683)",
3535
"Yellow wHAT (SSD1683)",
36+
"7-Colour 800x480 (AC073TC1A)",
3637
}
3738
)
3839

@@ -97,6 +98,8 @@ func DetectOpts(bus i2c.Bus) (*Opts, error) {
9798
options.Model = IMPRESSION57
9899
case 15, 16:
99100
options.Model = IMPRESSION4
101+
case 20:
102+
options.Model = IMPRESSION73
100103
default:
101104
return nil, fmt.Errorf("failed to get ops: display type %v not supported", data[6])
102105
}

0 commit comments

Comments
 (0)