/Arduino-SSD1306Ascii

Text only Arduino Library for SSD1306 OLED displays

Primary LanguageHTML

Arduino library for SSD1306 based OLED display

for using only with Ascii characters

Note: This repository forked from: https://github.com/greiman/SSD1306Ascii and refactored to able to store completly @ arduino libraries folder. File structure of this library is designed to pull directly into c:\Program Files (x86)\Arduino\libraries\ folder for using with Arduino IDE easily.

Introduction

SSD1306Ascii is an unbuffered character only library for small OLED displays like the Adafruit 1.3" and 0.96" Monochrome displays. SSD1306 oled displays Many low cost OLED displays with SSD1306 controllers are available on ebay.

SSD1306Ascii runs on Arduino AVR boards, Arduino Due and many other Arduino style boards that have the SPI or Wire library.

Advantages

The SSD1306Ascii library only requires a few bytes of RAM.

Here is memory use for the SPI "Hello world!" example with scrolling disabled:
Sketch uses 2,622 bytes (8%) of program storage space. Maximum is 32,256 bytes.
Global variables use 53 bytes (2%) of dynamic memory, leaving 1,995 bytes for local variables. Maximum is 2,048 bytes.

Installion

  • Clone or download as a .zip file and unpack this repository directly into "libraries" folder of Arduino IDE (e.g.: *c:\Program Files (x86)\Arduino\libraries* )
  • Restart Arduino IDE.
  • Now you can find and use this library from Sketch > Include library > "SSD1306Ascii"

Collaboration

This library is still in development so the API and features may change. The library may have bugs.
Feedback for future development is welcome.
This is a total rewrite of an earlier version of this library. The previous version is located here:
https://code.google.com/p/beta-lib/downloads/list