Code: [Local Link Removed for Guests]
vgaout.delete
print "MODE 1"
vgaout.setup 12, 20, 64,320, 9,3,20,240,16000000 ' MODE 1 (image out of range)
gosub Test
print "MODE 2"
vgaout.setup 16, 96, 48,640,10,2,33,480,25175000 ' MODE 2 (image shifted right)
gosub Test
print "MODE 3"
vgaout.setup 16, 96, 48,640,10,2,33,480,26000000 ' MODE 3 (picture perfect fit)
gosub Test
print "MODE 4"
vgaout.setup 24, 40,128,640, 9,3,20,480,31500000 ' MODE 4 (image slightly shifted to the right)
gosub Test
print "MODE 5"
vgaout.setup 40,104, 48,640,10,2,33,480,26000000 ' MODE 5 (image shifted far to the right)
gosub Test
print "MODE 6"
vgaout.setup 40,128, 88,800, 1,4,23,600,40000000 ' MODE 6 (image skips continuously to the right)
gosub Test
END
' ------------------
Test:
vgaout.fill black
for bucle = 1 to 3
r = rnd(256)
g = rnd(256)
b = rnd(256)
for i = 0 to 240 step 4
vgaout.rect i, i, 630-i*2, 480-i*2, TFT.RGB(r,g,b)
vgaout.show
pause 25
next i
for i = 240 to 0 step -4
vgaout.rect i, i, 630-i*2, 480-i*2, TFT.RGB(g,r,b)
vgaout.show
pause 25
next i
next bucle
vgaout.delete
return
Tonight I will take a closer look at the rest of your message. Thank you.