SSD1306 LCD 96x16 model
Dependents: testSoftware8_alles_display
Fork of ssd1306_library by
Diff: ssd1306.h
- Revision:
- 9:57209a7e9cba
- Parent:
- 8:09b1578f93d9
- Child:
- 10:346065d26cc9
diff -r 09b1578f93d9 -r 57209a7e9cba ssd1306.h --- 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) {