olikraus / u8glib

Arduino Monochrom Graphics Library for LCDs and OLEDs
https://github.com/olikraus/u8glib/wiki
Other
1.25k stars 314 forks source link

Where can I get the display buffer array? #388

Open cunidev opened 8 years ago

cunidev commented 8 years ago

It'd be nice to be able to access the screen as an array (like an XBMP), to allow to take screenshots and even recording through serial port... But is it possible to access the buffer variable? Thank you

olikraus commented 8 years ago

u8glib does not store the full buffer in the memory. So there is no such buffer variable.

cunidev commented 8 years ago

Oh, I see, everything is stored directly in the display... And I bet there's no way to retrieve the buffer array back from SSD1306... Thank you anyway.

olikraus commented 8 years ago

With SPI data can not read back at all. With I2C it would be possible, but is not supported by u8glib