This library has no external dependencies as both data I/O of the serial data and the controlling of an external display is done by external code. U8g.The ST7920Emulator is a platform independent emulator library that parses ST7920 serial data and draws the calculated display contents using user a supplied function.
Static unsigned char u8g_logo_bits U8G_PROGMEM = Add the PROGMEM statement to move the picture into flash rom:.Convert it into a indexed bitmap, 2 levels, black & white, maybe use dithering.
Here is the procedure, which was successful at least for me:
I’m additionally not sure if the hex is valid. I haven’t understood well how the draw syntax works, even if I’ve read the doc… graphic commands to redraw the complete screen should be placed here Start with an example, the file in attach is a small png in monochrome.