alex-marinov / Cypress-PSOC-OLED

SSD1306 OLED display driver and graphics library for the Cypress PSOC family of microcontrollers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSD1306 OLED I2C driver

Derk Steggewentz, 3/2015 

This is a I2C driver for SSD1306 OLED displays including graphics library. The project as is runs on the PSOC pioneer kit.

The graphics library part (gfx_ functions) is a heavily modified version of the Adafruit graphics library,

No license restrictions on my part, do whatever you want as long as you follow the derived license requirements for the graphics library part.

Usage:


- Choose the 2 pins to be used for the I2C bus and connect the display to it and VCC/GND.

- DonÕt forget to add pull-up resistors to SDA and SCL (something like 2.2k to 10k)

- configure OLED.cydwr for the I2C pins used
- build/program/run project

- Initialize display, see example code in main.c

Examples:


- see main.c for example usage


see ssd1306.h for the entire API




About

SSD1306 OLED display driver and graphics library for the Cypress PSOC family of microcontrollers

License:Other


Languages

Language:C 55.2%Language:C++ 30.6%Language:Pawn 10.1%Language:Assembly 2.4%Language:HTML 0.9%Language:Verilog 0.8%