Page 2 of 2

Re: SPI version of the ST 7920 GLCD

Posted: Tue Jun 25, 2024 12:58 am
by estevaon
Hi BenR, I made the tests but unfortunately it isn't working.

Re: SPI version of the ST 7920 GLCD

Posted: Tue Jun 25, 2024 10:11 am
by BenR
Hello,

Ok it looks like the MISO pin isn't working for whatever reason. I'll add a buffered mode to the component so we don't need to rely on the readback for the display to function. The buffer will consume a bit of RAM - 1KB for a 128 x 64 pixel display.

Re: SPI version of the ST 7920 GLCD

Posted: Tue Jun 25, 2024 11:13 am
by BenR
Right I've pushed a new version to the library updates with a new Local Buffer property, just make sure this is set to yes and fingers crossed no more corruption on your display. The X,Y coordinate system is interesting (a mess) on these displays so fingers crossed I've payed it proper attention and got it right.

Re: SPI version of the ST 7920 GLCD

Posted: Wed Jun 26, 2024 1:58 am
by estevaon
Hi Benr! Thank you for your effort, it didn't work by a thread. The option local buffer made the diference but errors persist.

Re: SPI version of the ST 7920 GLCD

Posted: Wed Jun 26, 2024 10:59 am
by BenR
Hello,

Aha many thanks. I may have spotted my mistake, you can only directly address every even data byte and I had addressed the odd byte the wrong way. Hopefully it will be better now.

Re: SPI version of the ST 7920 GLCD

Posted: Thu Jun 27, 2024 1:07 am
by estevaon
Hi BenR,

You made it! It will be very usefull in my projets, I hope it help others.
Thanks!!!