A class for managing SSD1306 controlled LCD´s (cheap 128x64 models, 0.96'') with more scroll features

Dependents:   2PA2S 2PA2S_v2

Revision:
9:57209a7e9cba
Parent:
8:09b1578f93d9
Child:
10:e5341e7eb825
--- a/ssd1306.h	Mon Nov 06 18:22:22 2017 +0000
+++ b/ssd1306.h	Mon Nov 06 18:35:22 2017 +0000
@@ -81,10 +81,10 @@
  *   lcd.cls();                    // clear frame buffer
  *   lcd.locate (3,1);             // set text cursor to line 3, column 1
  *   lcd.printf ("Hello, world!"); // print to frame buffer
- *   lcd.line (  7, 23, 113, 23, SSD1306::Normal); //
- *   lcd.line (113, 23, 113, 32, SSD1306::Normal); // Surrounds text with 
- *   lcd.line (113, 32,   7, 32, SSD1306::Normal); // a rectangle
- *   lcd.line (  7, 32,   7, 23, SSD1306::Normal); //
+ *   lcd.line (  6, 22, 114, 22, SSD1306::Normal); //
+ *   lcd.line (114, 22, 114, 33, SSD1306::Normal); // Surrounds text with 
+ *   lcd.line (114, 33,   6, 33, SSD1306::Normal); // a rectangle
+ *   lcd.line (  6, 33,   6, 22, SSD1306::Normal); //
  *   lcd.fill (0, 0);              // fills screen outside rectangle
  *   lcd.redraw();                 // updates actual display transferring frame buffer over I2C bus
  *   while (1) {