From aa84611c14c7553824379bec12793fa209f65460 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 11 Apr 2021 18:54:45 +0200 Subject: ssd1306: Comment initialization sequence --- src/driver/ssd1306.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/driver/ssd1306.cc b/src/driver/ssd1306.cc index 23b938d..cf36c13 100644 --- a/src/driver/ssd1306.cc +++ b/src/driver/ssd1306.cc @@ -20,6 +20,7 @@ void SSD1306::init() for (i = 0; i < sizeof(init1); i++) { writeCommand(init1[i]); } + // set multiplex ratio (i.e., number of rows) writeCommand(height - 1); for (i = 0; i < sizeof(init2); i++) { writeCommand(init2[i]); -- cgit v1.2.3