Skip to content

Commit ff2f72c

Browse files
authored
Merge pull request #9 from makermelissa/master
Added 480x128 Display Support
2 parents 1d03b0f + 2d6c6a6 commit ff2f72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ra8875/ra8875.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def init(self, start_on=True):
114114
vsync_nondisp = 32
115115
vsync_start = 23
116116
vsync_pw = 2
117-
elif self.width == 480 and self.height == 272:
117+
elif self.width == 480 and (self.height == 272 or self.height == 128):
118118
pixclk = reg.PCSR_PDATL | reg.PCSR_4CLK
119119
hsync_nondisp = 10
120120
hsync_start = 8

0 commit comments

Comments
 (0)