/oled_96

A simple C library (Linux + Arduino) for drawing text and graphics on SSD1306 OLED displays using I2C

Primary LanguageC

** OLED_96 **

OLED_96 is a simple C library for working with the SSD1306 128x64 OLED display when connected to the I2C bus. Tested on various ARM SBCs and Arduinos. The idea is to provide a simple interface for C programmers to make use of those low-cost OLED displays without having to read the data sheet or figure out I2C programming.

Written by Larry Bank
Project started 1/15/2017
bitbank@pobox.com

Features:
--------

  • Efficient individual pixel drawing
  • Small, Medium and large fonts (6x8, 8x8, 16x32)
  • Invert and flip 180 options (entire display)
  • Optional inverted text
  • Brightness control

*NEW* Display a Windows BMP (Arduino version).
This code was added to make it simpler to display a full screen logo bitmap by just copying a 1-bpp Windows BMP into the flash memory and calling 1 function.

If you find this code useful, please consider buying me a cup of coffee

paypal