Skip to content

dwan6767/lowkeyssd1306

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lowkeyoled

A minimal Diy oled display(ssd1306)driver.

Uses main 1024 bytes of RAM as frame buffer; lower flash usage

Compatible with Avr Microcontroller and ssd1306 oled display

Hardware should atleast have 1.5 kbytes of RAM for proper operation

functionality

For users it has oled_clear(), oled_update(); oled_draw_pixel() functions

oled_clear() : clears the buffer

oled_update() : updates the screen with new value in the buffer

oled_draw_pixel() : draws a single pixel in a specific coordinate

  • It has no text support ,everything the user has to do from scratch

  • While displaying static stuff it is good to store that in PROGMEM rather than RAM

examples

There is a Comprehensive example of a flappy-bird game in examples

Usage

#include <lowkeyoled.h>

void setup() {
h_offset=2;
  oled_init();
  oled_clear();
  oled_draw_pixel(64, 32, true);
  oled_update();
}

void loop() {}

About

a small direct access ssd1306 avr oled library

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors