Hello,
I'm trying to display some images on the screen using Uoled 160-g2 with serial environment but I'm experiencing some problems here. I'm using "Blit Com to Display" command. First of all i specify 10 bytes array according to the manual and then write it to the display. After that I write the image array and then wait for the ACK. When I do this that way, the image on the display is deformed and I do not receive the ACK. I found out that if I put the usleep(50000) function between writing the first array with 10 bytes and the array with the image the problem disapears, image looks just fine, and ACK is read. I've also noticed that with increasing the time of sleep the image becomes less deformed, but still ACK is not returned until the sleep time is large enough. What am I doing wrong? what can cause this problem? Thanks for any suggestions.
I'm trying to display some images on the screen using Uoled 160-g2 with serial environment but I'm experiencing some problems here. I'm using "Blit Com to Display" command. First of all i specify 10 bytes array according to the manual and then write it to the display. After that I write the image array and then wait for the ACK. When I do this that way, the image on the display is deformed and I do not receive the ACK. I found out that if I put the usleep(50000) function between writing the first array with 10 bytes and the array with the image the problem disapears, image looks just fine, and ACK is read. I've also noticed that with increasing the time of sleep the image becomes less deformed, but still ACK is not returned until the sleep time is large enough. What am I doing wrong? what can cause this problem? Thanks for any suggestions.
Comment