Skip to content

Library for small 128x32 or 128x64 displays using SSD1306 display driver

Notifications You must be signed in to change notification settings

r0tary/SSD1306-OLED-128x32-128x64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSD1306-OLED-128x32-128x64

BUGS MAY OCCUR

Getting started

To see descriptions of function input variables see SSD1306.h. To see examples of function use see main.c

Current features include:

            - Turn on any pixel on the display(draw_Pixel), on specified X and Y coordinates.
            - Draw/Print ASCII characters(draw_Char), on specified X and Y coordinates.
            - Print out a string of characters (print_String), on specified X and Y coordinates.
            - Print a integer(print_int) or float(print_float) type variable on the display.
            - Draw horizontal and vertical lines wherever specified, can specifie width
            - Draw bitmapped images(draw_Bitmap) on the display from a bitmap array. Image size and coordinate can be specified in function call.  

About bitmapping

For bitmapping images I used image2cpp. If you use it include "mirror" in the function call like in the example. If you use something else your bytes might be mirrored in that case write if you havent already "mirror".