Go Down

Topic: U8glib: Graphics Lib for LCDs and OLEDs (Read 228237 times) previous topic - next topic

bobmixon

Description of the firstPage/nextPage funktion is here: https://github.com/olikraus/u8glib/wiki/tpictureloop

The idea is only to save RAM.

Also: Please consider to use U8g2, which still has the firstPage/nextPage loop but also inclused a  full buffer mode (for systems with sufficient RAM) .

Oliver


Thank you for the documentation, makes complete sense. That's what I thought it was for as I've done it myself in other development efforts.

Thank you again!

lancsdude

Hello Oliver, firstly thank you for your incredible generosity. Every search I do for help you are the main man.

My SSD1306 128x64 is running I2C, works fine, then locks up after 20 seconds, the screen does not refresh until I power off.
So I was looking at this thread for help, assuming I am having a RAM issue? but I have 2K (Nano 328P)
and my sketch upload sjows 52% of programme memory and 14% dynamic memory.. ?
Should I change to U8g2lib ?
Some threads say not to use the 5v from the Nano and to power the OLED sperately?
And I remember you asking someone if they were using pull up resistors (on I2C)?

What are my first steps would you say?


olikraus

My SSD1306 128x64 is running I2C, works fine, then locks up after 20 seconds, the screen does not refresh until I power off.
So I was looking at this thread for help, assuming I am having a RAM issue? but I have 2K (Nano 328P)
and my sketch upload sjows 52% of programme memory and 14% dynamic memory.. ?
Should I change to U8g2lib ?
Some threads say not to use the 5v from the Nano and to power the OLED sperately?
And I remember you asking someone if they were using pull up resistors (on I2C)?

What are my first steps would you say?
Maybe look in the other parts of your code for the root cause of this behavior. I do not think that there is an hardware issue or a problem with u8glib. Also consider to create a new thread for this.

Oliver

Go Up