Could you say me please, howHow to draw 2D-array directly on LCD 5110 (PCD8544)?
Yes, I was usedhave tried libraries aslike AdaFruit and several others and it's a really good!.
But I need draw there via pixel 2D-array, something aboutlike this:
bool picture[48][84] = {
{0,1,0,0, ... to 84 elements},
{1,0,1,0,0, ...},
... to 48 elements
};
I needn't usehaven't used charset table or geometry figures drawing library functions, only direct, simplest. Simplest and smallest drawing by pixel - 0 - not draw, 1 - draw pixel. The
The "picture bitmap" will generate on the mini-pc board via Python and send to Arduino, which will draw it as "video card" :).
Is thereWhat is the simplest way to draw pixel in any site of the display without using powerful libraries?
Something about this:
// Send boolean bitmap 48x84 to LCD 5110
// Rows
for (int i=0; i<48; i++) {
// Columns
for (int j=0; j<84; j++) {
// PIN 5 is Din on the 5110 module
digitalWrite(5, picture[i][j]);
}
}
Thank you very much!
Regards, Kuiper
P.S.: Sorry for bad English, it's not my own language.