Posted: 10:31pm 19 Jan 2017 |
Copy link to clipboard |
Print this post |
|
If you are using the latest beta and can make a connection to RD on the display (assuming SSD1963) try using the new GETSCANLINE function ( see latest manual). This allows you to synchronise writing to the display with the scan of the LCD. I don't know how well this works with GUI controls but it certainly works well with normal drawing. The attached code could be suitable for a 800x480 display
Option autorun on font 4 Const display2 = 4 Colour RGB(white),RGB(blue) SetTick 1000,clock CLS GUI displaybox display2, 240,5,350,50
Do 'do something Loop
Sub clock local integer i do i=getscanline() loop while (i>409 or i<400) CtrlVal(display2) = Time$ + " " + Date$ End Sub |