@name Robotboy655's Digital Screen Test
@inputs DS:wirelink
@outputs 
@persist
@trigger 

#TESTS

interval(10)

X = 512
Y = 512

R = 0
G = 0
B = 255

DS["Clk",number] = 1
DS["PixelX",number] = cos(curtime() * 10) * X/2 + X/2
DS["PixelY",number] = sin(curtime() * 10) * Y/2 + Y/2
DS["PixelG",number] = 9000 #999000


#RGB data 0 - 786431
#Color mode 
#0: RGBXXX; 
##1: R G B; 
#2: R*65536 + G*256 + B; 
#3: RRRGGGBBB 1048569
#Clear row 1048570
#Clear column 1048571
#Height 1048572
#Width 1048573
#Hardware Clear Screen 1048574
#CLK 1048575
