Skip to content

Commit

Permalink
Update ACROBOTIC_SSD1306.cpp
Browse files Browse the repository at this point in the history
Adding support for 128x32 screen size.
  • Loading branch information
datasith committed Jul 24, 2018
1 parent 6c5311f commit 84b53c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ACROBOTIC_SSD1306.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 84b53c0

Please sign in to comment.