Page cardEntities 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 //wup=cardEntities //remove background & activate reparse mode vis p0,0 recmod=1 bauds=115200 //debug stuff vis tTmp,0 vis tSend,0 vis tInstruction,0 vis tId,0 //ui e1 vis btOnOff1,0 vis bUp1,0 vis bStop1,0 vis bDown1,0 vis tIcon1,0 vis tEntity1,0 vis bText1,0 vis hSlider1,0 vis nNum1,0 //ui e2 vis btOnOff2,0 vis bUp2,0 vis bStop2,0 vis bDown2,0 vis tIcon2,0 vis tEntity2,0 vis bText2,0 vis hSlider2,0 vis nNum2,0 //ui e3 vis btOnOff3,0 vis bUp3,0 vis bStop3,0 vis bDown3,0 vis tIcon3,0 vis tEntity3,0 vis bText3,0 vis hSlider3,0 vis nNum3,0 //ui e4 vis btOnOff4,0 vis bUp4,0 vis bStop4,0 vis bDown4,0 vis tIcon4,0 vis tEntity4,0 vis bText4,0 vis hSlider4,0 vis nNum4,0 vis bPrev,0 vis bNext,0 Variable (string) strCommand Attributes Scope : local Text : Max. Text Size: 500 Variable (string) type1 Attributes Scope : local Text : Max. Text Size: 10 Variable (string) type2 Attributes Scope : local Text : Max. Text Size: 10 Variable (string) type3 Attributes Scope : local Text : Max. Text Size: 10 Variable (string) type4 Attributes Scope : local Text : Max. Text Size: 10 Variable (string) entn1 Attributes Scope : local Text : Max. Text Size: 80 Variable (string) entn2 Attributes Scope : local Text : Max. Text Size: 80 Variable (string) entn3 Attributes Scope : local Text : Max. Text Size: 80 Variable (string) entn4 Attributes Scope : local Text : Max. Text Size: 80 Number nNum1 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Value : 0 Number nNum2 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Value : 0 Number nNum3 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Value : 0 Number nNum4 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none 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 tEntity1 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : tEntity1 Max. Text Size : 30 Text tEntity2 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : tEntity2 Max. Text Size : 30 Text tEntity3 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : tEntity3 Max. Text Size : 30 Text tEntity4 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : tEntity4 Max. Text Size : 30 Text tIcon1 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 5 Text tIcon2 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 5 Text tIcon3 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 5 Text tIcon4 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 5 Text tSend Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : newtxt Max. Text Size : 100 Text tTmp Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 10 Text tInstruction Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 20 Text tId Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 50 Picture p0 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Slider hSlider1 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 Events Touch Release Event nNum1.val=hSlider1.val tSend.txt="event,buttonPress2,"+entn1.txt+",number-set," covx nNum1.val,tTmp.txt,0,0 tSend.txt+=tTmp.txt //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 Slider hSlider2 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 Events Touch Release Event nNum2.val=hSlider2.val tSend.txt="event,buttonPress2,"+entn2.txt+",number-set," covx nNum2.val,tTmp.txt,0,0 tSend.txt+=tTmp.txt //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 Slider hSlider3 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 Events Touch Release Event nNum3.val=hSlider3.val tSend.txt="event,buttonPress2,"+entn3.txt+",number-set," covx nNum3.val,tTmp.txt,0,0 tSend.txt+=tTmp.txt //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 Slider hSlider4 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 Events Touch Release Event nNum4.val=hSlider4.val tSend.txt="event,buttonPress2,"+entn4.txt+",number-set," covx nNum4.val,tTmp.txt,0,0 tSend.txt+=tTmp.txt //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 bDown1 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,"+entn1.txt+",down" //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 bUp1 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,"+entn1.txt+",up" //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 bStop1 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,"+entn1.txt+",stop" //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 bStop2 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,"+entn2.txt+",stop" //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 bDown2 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,"+entn2.txt+",down" //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 bUp2 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,"+entn2.txt+",up" //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 bStop3 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,"+entn3.txt+",stop" //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 bDown3 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,"+entn3.txt+",down" //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 bUp3 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,"+entn3.txt+",up" //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 bStop4 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,"+entn4.txt+",stop" //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 bDown4 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,"+entn4.txt+",down" //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 bUp4 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,"+entn4.txt+",up" //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,cardEntities," 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 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,cardEntities,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 bText1 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled State : unpressed Text : Max. Text Size : 20 Events Touch Press Event tSend.txt="event,buttonPress2,"+entn1.txt+",button" //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 bText2 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled State : unpressed Text : Max. Text Size : 20 Events Touch Press Event tSend.txt="event,buttonPress2,"+entn2.txt+",button" //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 bText3 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled State : unpressed Text : Max. Text Size : 20 Events Touch Press Event tSend.txt="event,buttonPress2,"+entn3.txt+",button" //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 bText4 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled State : unpressed Text : Max. Text Size : 20 Events Touch Press Event tSend.txt="event,buttonPress2,"+entn4.txt+",button" //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 Dual-state Button btOnOff1 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,"+entn1.txt+",OnOff," covx btOnOff1.val,tTmp.txt,0,0 tSend.txt+=tTmp.txt //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 Dual-state Button btOnOff2 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,"+entn2.txt+",OnOff," covx btOnOff2.val,tTmp.txt,0,0 tSend.txt+=tTmp.txt //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 Dual-state Button btOnOff3 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,"+entn3.txt+",OnOff," covx btOnOff3.val,tTmp.txt,0,0 tSend.txt+=tTmp.txt //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 Dual-state Button btOnOff4 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,"+entn4.txt+",OnOff," covx btOnOff4.val,tTmp.txt,0,0 tSend.txt+=tTmp.txt //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 mSpecial Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Events Touch Press Event sys2=sys2+1 sys2%=10 //n0.val=sys2 if(sys2==9) { page pageTest } Hotspot m2 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Events Touch Press Event pageIcons.tTmp1.txt=tEntity3.txt pageIcons.tTmp2.txt=entn3.txt if(type3.txt=="shutter") { //popupShutter.tHeading.txt=tEntity3.txt page popupShutter } if(type3.txt=="light") { //popupLight.tEntity.txt=tEntity3.txt page popupLight } Hotspot m1 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Events Touch Press Event pageIcons.tTmp1.txt=tEntity2.txt pageIcons.tTmp2.txt=entn2.txt if(type2.txt=="shutter") { //popupShutter.tHeading.txt=tEntity2.txt page popupShutter } if(type2.txt=="light") { //popupLight.tEntity.txt=tEntity2.txt page popupLight } Hotspot m0 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Events Touch Press Event pageIcons.tTmp1.txt=tEntity1.txt pageIcons.tTmp2.txt=entn1.txt if(type1.txt=="shutter") { //popupShutter.tHeading.txt=tEntity1.txt page popupShutter } if(type1.txt=="light") { //popupLight.tEntity.txt=tEntity1.txt page popupLight } Hotspot m3 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Events Touch Press Event pageIcons.tTmp1.txt=tEntity4.txt pageIcons.tTmp2.txt=entn4.txt if(type4.txt=="shutter") { //popupShutter.tHeading.txt=tEntity4.txt page popupShutter } if(type4.txt=="light") { //popupLight.tEntity.txt=tEntity4.txt page popupLight } 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