Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
STM8S103F3P6 and SSD1306 Not enough memory #42
i use file example oled-mini.ino it is show Not enough memory. how to fix issue or change module?
There is no fix, this is a device limitation. 128x64 pixel need 128x64 = 8kbit = 1kB of RAM for the display buffer. Since the STM8S103 has only 1kB RAM total, there is no way that this will fit.
The u8g2 library by Oli Kraus is able use less RAM by rendering the image in multiple stripes. This is slower, but saves RAM. I am thinking of porting that library, but don't hold your breath for it.