From 84b53c0039cd872bff7a178dff7b29aa08987040 Mon Sep 17 00:00:00 2001 From: MakerBro Date: Tue, 24 Jul 2018 15:16:04 -0700 Subject: [PATCH] Update ACROBOTIC_SSD1306.cpp Adding support for 128x32 screen size. --- ACROBOTIC_SSD1306.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACROBOTIC_SSD1306.cpp b/ACROBOTIC_SSD1306.cpp index d150438..1c5dd55 100755 --- a/ACROBOTIC_SSD1306.cpp +++ b/ACROBOTIC_SSD1306.cpp @@ -28,7 +28,7 @@ void ACROBOTIC_SSD1306::init(void) sendCommand(0xD5); //SETDISPLAYCLOCKDIV sendCommand(0x80); // the suggested ratio 0x80 sendCommand(0xA8); //SSD1306_SETMULTIPLEX - sendCommand(0x3F); + sendCommand(SSD1306_Max_Y); sendCommand(0xD3); //SETDISPLAYOFFSET sendCommand(0x0); //no offset sendCommand(0x40|0x0); //SETSTARTLINE