Dear Arduino community,
I bought some cheap SSD1306 Oleds on eBay and got them working via i2c with a different library than the one from Adafruit (because ACK?!). I would like to refactor and rewrite this whole library because of usage and functionality.
This library does not use a buffer char array with 8192 bits and writes directly to the SSD1306 buffer as opposed to the adafruit library.
So my questions are: 1. Is it reasonable to use a local char buffer array and display the content after any modifications where done via a display() method in terms of memory usage, framerate and overall code efficiency?
If my calculations are correct: the local buffer would use 1024 byte which is allready 50% of the ATMega328 SRAM?! This does not leave plenty of room for other stuff right?
I would really like to implement some sort of GUI library with buttons and views which are animatable: would a local buffer help me to do so (animating eg. the whole content of the screen from left to right etc.)?
Thanks in advance!