Post by selcuk06 on Nov 20, 2021 4:38:33 GMT -8
I am using gameduino library to program a BT817Q chip set 1024x600 display connected to a teenys 4.1. Display has a lot of pixel room which lets me to draw lots of boxes, shapes, texts etc to fill the area. I've noticed that when my display commands come to o certain limit display begins to get out sync vertically. I tried to put some delays at certain points but it did not help. My display has the following register values;
Thinking it may be something related to these values I began tinkering them. For some reason increasing REG_HCYCLE value stops this sync problem. When I add more information on the display vertical sync problem begins and I add more numbers to this REG_HCYCLE value and everything works again. My current REG_HCYCLE value is 1840. I am sure this is not the proper way to handle this kind of problem but it worked for me. Does anybody have an alternate solution? Regards.