Datasheet

EA uniTFT Vorläufig
TIME
#WGC
Object group as a clock
Refrain from defining a line style and white filling for hour hand
#CLD 11
#CFC 11, $FFFFFF, 100
Refrain from defining a line style and grey filling for minute hand
#CLD 12
#CFC 12, $E0E0E0, 100
Refrain from defining a line style and red filling for second hand
#CLD 13
#CFC 13, $FF0000, 100
Create colour gradient
#CCR 9, 0,$0,100 100, $A0A0A0, 100
Define colour gradient and no line style for connecting point
#CFR 14, 9
#CLD 14
Set integer register
#VRI 1,(scrW()/2),(scrH()/2)
Place graphic of the dial
#PPP 5, "Clock3"; R1, R2, 5, 200
Place the three hands and connecting point
#GPF 6, 11, 0, 0, 4, 75, 8, 0
#GPF 7, 12, 0, 0, 4, 95, 8, 0
#GRR 8, 13, 0, 0, 7, 2, 95
#GET 9, 14, R1, R2, 5, 7
Define free anchors for hands
#OAO 4, 15, 6-7
#OAO 1, 20, 8
Change the position of the hands absolutely
#OPA R1, R2, 6-8
Create object group
#OGA 10, 5-9
Define object group as a clock
#WGC 10, 6, 7,8
Technische Änderung vorbehalten.
Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
Seite 147