Hello, I'm trying to create an array which is filled dynamically as the data is received. After this, I'm trying to display the array on SSD1306.
I'm using the U8glib for display which works perfectly for static arrays (defined in program itself).
The problem here is, the array I need is dynamic and what is available for the drawBitmapP( ) function is of 'const' type because it needs to be in PROGMEM.
I found that the Adafruit SSD1306 has some function which doesn't require PROGMEM to be used but unfortunately Adafruit doesn't display the bitmap on my SSD1306 and only U8glib does.
Is there any such function I can use or place inside the .cpp file for u8g library specifically? Any other solution for dynamic array would be appreciated. Please help, I need this for my academic project, I'm not getting the solution.