Hi,
I am designing a device based on the ATTINY414 microcontroller (from the Microchip new series of microcontrollers). I would like the device to measure the current temperature and calculate the rolling average temperature from the last 24 hours (RTC is running in the device).
Now I have a problem with the presentation of the results (current temperature plus calculated average). In the device I want to use the I2C OLED 128x32 display, which is based on the SSD1306 driver. Unfortunately, the libraries I found on the Internet (for AVR-GCC) require a large data buffer to be stored in SRAM. 128x32 = 512 bytes. This exceeds the memory size of the microcontroller, which is 256B. Just counting the mean eats up memory. Not counting the memory needed for the OLED buffer...
I know I could use a larger microcontroller like the ATTINY1604. However, due to the price and availability of chips (I would like to release a small series of such devices), I would prefer to stay with the ATTINY414. So is there a way to get rid of such a large buffer in SRAM and run the display on such a small microcontroller? I would mainly like to display text and simple graphics such as lines separating the text or thermometer symbol. Maybe you know some good libraries?