Bracciale Slave
Diff: Adafruit_SSD1306.h
- Revision:
- 19:e5d8d6e7fac5
- Parent:
- 18:a267f00528be
diff -r a267f00528be -r e5d8d6e7fac5 Adafruit_SSD1306.h --- a/Adafruit_SSD1306.h Tue Feb 07 23:52:12 2017 +0000 +++ b/Adafruit_SSD1306.h Mon Feb 25 21:14:16 2019 +0000 @@ -1,26 +1,3 @@ -/********************************************************************* -This is a library for our Monochrome OLEDs based on SSD1306 drivers - - Pick one up today in the adafruit shop! - ------> http://www.adafruit.com/category/63_98 - -These displays use SPI to communicate, 4 or 5 pins are required to -interface - -Adafruit invests time and resources providing this open source code, -please support Adafruit and open-source hardware by purchasing -products from Adafruit! - -Written by Limor Fried/Ladyada for Adafruit Industries. -BSD license, check license.txt for more information -All text above, and the splash screen must be included in any redistribution -*********************************************************************/ - -/* - * Modified by Neal Horman 7/14/2012 for use in mbed - * Modified by Greg Steiert 2/7/2017 for FeatherOLED - */ - #ifndef _ADAFRUIT_SSD1306_H_ #define _ADAFRUIT_SSD1306_H_ @@ -33,11 +10,6 @@ #define SSD1306_EXTERNALVCC 0x1 #define SSD1306_SWITCHCAPVCC 0x2 -/** The pure base class for the SSD1306 display driver. - * - * You should derive from this for a new transport interface type, - * such as the SPI and I2C drivers. - */ class Adafruit_SSD1306 : public Adafruit_GFX { public: @@ -60,8 +32,6 @@ /// Cause the display to be updated with the buffer content. void display(); - /// Fill the buffer with the AdaFruit splash screen. - virtual void splash(); protected: virtual void sendDisplayBuffer() = 0; @@ -71,9 +41,8 @@ }; -/** This is the I2C SSD1306 display driver transport class - * - */ +// This is the I2C SSD1306 display driver transport class + class Adafruit_SSD1306_I2c : public Adafruit_SSD1306 { public: @@ -95,7 +64,6 @@ , mi2cAddress(i2cAddress) { begin(); - splash(); display(); };