I have been testing my LCD module. I think it is burnt, although I hope not.... Can anyone confirm that I just badly programmed?
I try to send a pixel(green, red, black whatever the color is) to the ST7735 chip and it gives me randomly generated pixels all over.
It happens as I set "Sleep Out" mode
A random pixel at the same address doesn't change its color, though. The pixel at (0,0) is always green no matter how many I turn off and turn back on.
What should I do to prevent this from happening ever again? I think I have limited the current more than enough. I am about to take out another LCD module, if anyone confirms it is indeed unusable.
P.S Sorry about the lack of detail. I thought the question is more simpler question. I thought that explaining the phenomenon and the end result would suffice to troubleshoot the problem. Here are the datasheets:
This LCD uses 4-lines SPI (Register select, chip selection, SDA, SCL).
Initially, I just took a look at the datasheet and I tried to interpret it myself. I couldn't even have something that shows in the photo, so I referred to the examples online.
I followed the initialization process of theirs:
(The one above corresponds to a pi code.)
My code is a bit of mass... I haven't commented it yet. So I will explain it myself:
Hardware Reset -> Delay 50ms -> Software reset -> Delay 50ms -> Window setting( setting X address & Y address) -> Normal Display Mode On -> 10ms delay -> Display On -> 500ms delay. Then I use "Ram write" command and a parameter(24bits). Just once (1 pixel). Finally an infininte while loop.
I removed all power control and other initialization process because it yielded a result no different from the photo above. I thought the default setting is very well sufficient.