Page popupNotify 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 tTmp,0 vis tInstruction,0 vis tId,0 popupNotify.bco=defaultBcoColor tHeading.bco=defaultBcoColor b0.bco=defaultBcoColor tText.bco=defaultBcoColor b1.bco=defaultBcoColor b2.bco=defaultBcoColor tHeading.pco=defaultFontColor b0.pco=defaultFontColor tText.pco=defaultFontColor b1.pco=defaultFontColor b2.pco=defaultFontColor Variable (string) strCommand Attributes Scope : local Text : Max. Text Size: 1000 Variable (string) entn Attributes Scope : local Text : Max. Text Size: 30 Variable (int32) vaOldSleepT Attributes Scope: local Value: 0 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 : 20 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 tText Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 500 Picture p0 Attributes Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Button b0 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 sleepTimeout=vaOldSleepT.val tSend.txt="event,buttonPress2,popupNotify,bExit" //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 b2 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 sleepTimeout=vaOldSleepT.val //craft command tSend.txt="event,buttonPress2,"+entn.txt+",notifyAction,yes" //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 b1 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 sleepTimeout=vaOldSleepT.val //craft command tSend.txt="event,buttonPress2,"+entn.txt+",notifyAction,no" //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 Timer tmSleep Attributes Scope : local Period (ms): 1000 Enabled : yes Events Timer Event if(sleepTimeout!=0) { sleepValue+=1 if(sleepTimeout<=sleepValue) { sleepValue=0 click b0,1 click b0,0 } } Timer tmSerial Attributes Scope : local Period (ms): 50 Enabled : yes Events Timer Event // data available if(usize>1) { bufferPos=0 while(bufferPos