i2c version has an offset due to wrong copy of temp buffer to display buffer, fixed in Adafruit_SSD1306.h

Dependents:   ezSBC_MPU9250 Test_OLED_Display untodoenuno OledI2CDisplay ... more

Fork of Adafruit_GFX by Neal Horman

Revision:
23:0b35bb153799
Parent:
21:ef35019b9b50
--- a/Adafruit_GFX.h	Mon Jul 24 21:32:55 2017 +0200
+++ b/Adafruit_GFX.h	Mon Jul 24 19:44:33 2017 +0000
@@ -44,12 +44,15 @@
  * Display drivers should be derived from here.
  * The Display drivers push the display buffer to the
  * hardware based on application control.
- *
+ 
+ * JojoS: added option to not derive from Stream
+ *  this saves about 10k of code size for small targes
+ *  without Stream class, printf must be replaced by writeChar(ch)
  */
-#if defined(USE_IOSTREAM)
+#if defined(USE_NO_IOSTREAM)
+class Adafruit_GFX
+#else
 class Adafruit_GFX : public Stream
-#else
-class Adafruit_GFX
 #endif
 {
  public: