Skip to content

Commit 3482f17

Browse files
SSD1306 example for bigger displays (#623)
Fixes #362
1 parent 3bba4a6 commit 3482f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

i2c/ssd1306_i2c/ssd1306_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ void SSD1306_scroll(bool on) {
188188
0x00, // dummy byte
189189
0x00, // start page 0
190190
0x00, // time interval
191-
0x03, // end page 3 SSD1306_NUM_PAGES ??
191+
SSD1306_NUM_PAGES - 1, // end page
192192
0x00, // dummy byte
193193
0xFF, // dummy byte
194194
SSD1306_SET_SCROLL | (on ? 0x01 : 0) // Start/stop scrolling

0 commit comments

Comments
 (0)