This library based on MCP23017 ( I2C I/O expander ) that would be driver for LCD12864-V2.0 ( china lcd ) with ST7920 driver ( built-in it )
##Reference ( datasheet )
In parallel 8bit mode, set PSB pin on High state ( for parallel ).
Convert the bitmap ( in an even matrix resolution size ) that not exceed than lcd pixel's size i use LVGL online tools : LVGL-tools.
- Upload your BMP file
- Set color format to Indexed 2 colors
- check Output in big-endian format on the Options
- then click convert
You just need to copy the data array, not all of the existing source inside that files
in my sample codes
...
lcd.clear(0,0);
lcd.clearBuffer();
lcd.drawBitmap(1,1,84,48,(uint8_t*)bitmapArray,1); // image size : 84x48
lcd.sendBuffer();**
...
I would say thank you very much for
https://github.com/devMorpheus/zLCD as reference for LCD7920 driver