This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:oled12864:index.html [2012/03/08 21:56] ladyada [Download] |
products:oled12864:index.html [2016/01/28 18:05] (current) |
||
---|---|---|---|
Line 58: | Line 58: | ||
<class notewarning> | <class notewarning> | ||
- | If you're using the 128x32 OLED, be sure to uncomment the "#define SSD1306_128_32" in the top of SSD1306.h to change the buffer size | + | If you're using the 128x32 OLED, be sure to uncomment the "#define SSD1306_128_32" in the top of Adafruit_SSD1306.h to change the buffer size |
</class> | </class> | ||
Line 99: | Line 99: | ||
==== Arduino Library & Examples ==== | ==== Arduino Library & Examples ==== | ||
- | Download and install our Arduino library. If you're using another system, its pretty simple to adapt our code, the interface we use is basic bit-twiddling SPI. | + | Download and install our Arduino libraries – the links are at the bottom of this page. If you're using a different microcontroller, the code is pretty simple to adapt, the interface we use is basic bit-twiddling SPI. |
Load the example sketch to demonstrate the capabilities of the library and display. | Load the example sketch to demonstrate the capabilities of the library and display. | ||
Line 135: | Line 135: | ||
- | **[[https://github.com/adafruit/SSD1306|You can download our SSD1306 OLED display Arduino library from github]]** which comes with example code. The library can print text, bitmaps, pixels, rectangles, circles and lines. It uses 1K of RAM since it needs to buffer the entire display but its very fast! The code is simple to adapt to any other microcontroller. | + | **[[https://github.com/adafruit/Adafruit_SSD1306|You can download our SSD1306 OLED display Arduino library from github]]** which comes with example code. The library can print text, bitmaps, pixels, rectangles, circles and lines. It uses 1K of RAM since it needs to buffer the entire display but its very fast! The code is simple to adapt to any other microcontroller. You'll also have to install the [[https://github.com/adafruit/Adafruit-GFX-Library|Adafruit GFX graphics core library at this github repo]] and install it after you've gotten the OLED driver library. |
**[[http://www.adafruit.com/datasheets/UG-2864HSWEG01.pdf|UG-2864HSWEG01]] Datasheet** | **[[http://www.adafruit.com/datasheets/UG-2864HSWEG01.pdf|UG-2864HSWEG01]] Datasheet** |