Skip to content
/ TerOled Public

Serial Terminal for OledSSD1306. 1.5k while Ada-GFX needs 10k. Arduino compatible, but simple portable C

License

Notifications You must be signed in to change notification settings

nicoud/TerOled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TerOled, a Serial Terminal for OledSSD1306

Compatible with TerSer, the Serial.begin killer

More compact and easy to us than anything you can do with Adafruit GFX

Oledscreen

TerOled, a Serial Terminal for OledSSD1306

The new xxOled.h family of files follows the logic of the construction of your application. The SSD1306 must be connected on 2 pins. If you use the I2C pins on AVR328, load TwiOled.h. If other pins adapt the BitBang file Bb7654Oled.h - 10 lines to understand and change. Next you need the Oled setup, a charater generator and the primitives to write numbers and texts: load the PixOled.h; it also set dots for simple graphics.

Add the TerOled.h compatible with the SerOled that replace the Arduino Serial.print terminal. This will cost you only 2 kbytes of memory and 80 bytes of variable.

How to handle SSD 1306 with 128x32 format?

Add two lines at the end of setup SetupOledMap() or SetupOledPix() in order to be compatible with 32 lines.

Cmd (0xDA);

Cmd (0x02);

Now the text lines are numbered 4,5,6,7. No guarantie is given for what happen on lines 0,1,2,3 and for dots with y>32.

Functions are DoubleH(); - for 128x32, SingleH(); back to 128x64. If you have access to SSD1306 low level doc, play with Cmd() to scroll and do other tricks.

Not convinced? See See TerSer and TerOled Compare

You like a zip file ready to load under Arduino - Sketch - Add a zip file? It's here

Oled fan?

Since 2016, we documented many Oled applications, see our Oled doc , mostly in french and in need to be updated (check the date at the bottom)

About

Serial Terminal for OledSSD1306. 1.5k while Ada-GFX needs 10k. Arduino compatible, but simple portable C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published