Skip to content

Commit 20af1ca

Browse files
committed
Added SPI specific comments and SPI display image
1 parent 1034f2d commit 20af1ca

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# esp8266-oled-ssd1306
22

33
This is a driver for the SSD1306 based 128x64 pixel OLED display running on the Arduino/ESP8266 platform.
4+
Can be used with either the I2C or SPI version of the display
45

56
You can either download this library as a zip file and unpack it to your Arduino/libraries folder or (once it has been added) choose it from the Arduino library manager.
67

78
## Credits
89
Many thanks go to Fabrice Weinberg (@FWeinb) for optimizing and refactoring the UI library.
910
The init sequence for the SSD1306 was inspired by Adafruits library for the same display.
11+
The SPI code was inspired by somhi/ESP_SSD1306 and the Adafruit library
1012

1113
## Usage
1214

@@ -187,3 +189,9 @@ This frame demonstrates the text alignment. The coordinates in the frame show re
187189
![DemoFrame4](https://github.com/squix78/esp8266-oled-ssd1306/raw/master/resources/DemoFrame4.jpg)
188190

189191
This shows how to use define a maximum width after which the driver automatically wraps a word to the next line. This comes in very handy if you have longer texts to display.
192+
193+
### SPI version
194+
195+
![SPIVersion](https://github.com/neptune2/esp8266-oled-ssd1306/raw/master/resources/SPI_version.jpg)
196+
197+
This shows the code working on the SPI version of the display. See demo code for ESP8266 pins used.

0 commit comments

Comments
 (0)