Neven Boyanov
Published © MIT

SSD1306xLED Tinusaur ATtiny85 Library for SSD1306

SSD1306xLED is a C library for working with the SSD1306 display driver to control dot matrix OLED/PLED 128x64 displays.

IntermediateFull instructions provided5,543
SSD1306xLED Tinusaur ATtiny85 Library for SSD1306

Things used in this project

Story

Read more

Code

Code snippet #1

Plain text
#define SSD1306_SCL PB2 // SCL, Pin 3 on SSD1306 Board
#define SSD1306_SDA PB0 // SDA, Pin 4 on SSD1306 Board

Code snippet #2

Plain text
    _delay_ms(40);
    ssd1306_init();

Code snippet #3

Plain text
    ssd1306_fillscreen(0x00);
    ssd1306_setpos(0, 10);
    ssd1306_string_font6x8("Hello World!");

Code snippet #4

Plain text
    ssd1306_draw_bmp(0,0,128,8, img1_128x64c1);

Bitbucket

https://bitbucket.org/tinusaur/ssd1306xled

Credits

Neven Boyanov

Neven Boyanov

6 projects • 9 followers
Computer programmer, entrepreneur and maker. Interested in science, technology and how things work. Lecturer in schools and universities.
Contact

Comments