Page cardPower Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Locked : no Swide up page ID : disabled Swide down page ID : disabled Swide left page ID : disabled Swide right page ID : disabled Events Preinitialize Event dim=dimValueNormal vis p0,0 vis tSend,0 vis tInstruction,0 vis tTmp,0 vis tId,0 vis bPrev,0 vis bNext,0 tsw h0,0 tsw h1,0 tsw h2,0 tsw h3,0 Variable (string) strCommand Attributes Scope : local Text : Max. Text Size: 275 Variable (string) tSend Attributes Scope : local Text : Max. Text Size: 200 Variable (string) tTmp Attributes Scope : local Text : Max. Text Size: 10 Variable (string) tId Attributes Scope : local Text : Max. Text Size: 20 Variable (string) tInstruction Attributes Scope : local Text : Max. Text Size: 20 Variable (int32) t0Speed Attributes Scope: local Value: 0 Variable (int32) t1Speed Attributes Scope: local Value: 0 Variable (int32) t3Speed Attributes Scope: local Value: 0 Variable (int32) t4Speed Attributes Scope: local Value: 0 Variable (int32) t5Speed Attributes Scope: local Value: 0 Variable (int32) t2Speed Attributes Scope: local Value: 0 Text tHeading Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 40 Text t0Icon Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 5 Text t2Icon Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 5 Text t1Icon Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 5 Text t1 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 5 Text t3Icon Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 5 Text t0u Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 20 Text t0o Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 20 Text t1u Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 20 Text t1o Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 20 Text t2o Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 20 Text t2u Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 20 Text t3u Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 20 Text t3o Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 20 Picture p0 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Slider h1 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Position : 50 Upper range limit : 100 Lower range limit : 0 Slider h0 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Position : 50 Upper range limit : 100 Lower range limit : 0 Slider h2 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Position : 50 Upper range limit : 100 Lower range limit : 0 Slider h3 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Position : 50 Upper range limit : 100 Lower range limit : 0 Button bNext Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled State : unpressed Text :  Max. Text Size : 10 Events Touch Press Event tSend.txt="event,buttonPress2,cardAlarm,bNext" //send calc crc btlen tSend.txt,sys0 crcrest 1,0xffff // reset CRC crcputh 55 bb crcputs sys0,2 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 Button bPrev Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled State : unpressed Text :  Max. Text Size : 10 Events Touch Press Event tSend.txt="event,buttonPress2,cardAlarm," if(bPrev.txt=="") { tSend.txt+="bUp" }else { tSend.txt+="bPrev" } //send calc crc btlen tSend.txt,sys0 crcrest 1,0xffff // reset CRC crcputh 55 bb crcputs sys0,2 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 Hotspot mSwipeNext Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Events Touch Press Event click bNext,1 Hotspot mSwipeUp Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Events Touch Press Event click bPrev,1 Hotspot mSwipePrev Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Events Touch Press Event click bPrev,1 Timer tmSerial Attributes Scope : local Period (ms): 50 Enabled : yes Events Timer Event // data available if(usize>1) { bufferPos=0 while(bufferPos=100&&h0.val<=150) { h0.val=0 } if(h1.val>=100&&h1.val<=150) { h1.val=0 } if(h2.val>=100&&h2.val<=150) { h2.val=0 } if(h3.val>=100&&h3.val<=150) { h3.val=0 } ref t0o ref t0u ref t1o ref t1u ref t2o ref t2u ref t3o ref t3u TouchCap tc0 Attributes Scope: local Value: 0 Events Touch Press Event sleepValue=0