Adafruit GFX with some tweaks

Fork of Adafruit_GFX by Neal Horman

Files at this revision

API Documentation at this revision

Comitter:
mjromeijn
Date:
Mon Nov 02 21:24:12 2015 +0000
Parent:
16:7fb1d4d3525d
Commit message:
Reset text cursor after screen cleared

Changed in this revision

Adafruit_SSD1306.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Adafruit_SSD1306.cpp	Tue Nov 11 22:08:20 2014 +0000
+++ b/Adafruit_SSD1306.cpp	Mon Nov 02 21:24:12 2015 +0000
@@ -147,6 +147,7 @@
 void Adafruit_SSD1306::clearDisplay(void)
 {
 	std::fill(buffer.begin(),buffer.end(),0);
+	setTextCursor(0,0);
 }
 
 void Adafruit_SSD1306::splash(void)