Page popupNotify Attributes ID : 0 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 Width : 480 Effect : load Effect Priority : 0 Effect Time : 300 Locked : no Swide up page ID : disabled Swide down page ID : disabled Swide left page ID : disabled Swide right page ID : disabled Fill : solid color Back. Color : 6371 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 ID : 8 Scope : local Text : Max. Text Size: 1000 Variable (string) entn Attributes ID : 15 Scope : local Text : Max. Text Size: 30 Variable (int32) vaOldSleepT Attributes ID : 16 Scope: local Value: 0 Text tSend Attributes ID : 3 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 0 y coordinate : 0 Width : 348 Height : 22 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 65535 Font Color : 0 Horizontal Alignment : center Vertical Alignment : center Input Type : character Text : newtxt Max. Text Size : 100 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tTmp Attributes ID : 4 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 406 y coordinate : 277 Width : 34 Height : 30 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 65535 Font Color : 0 Horizontal Alignment : center Vertical Alignment : center Input Type : character Text : Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tInstruction Attributes ID : 9 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 0 y coordinate : 290 Width : 100 Height : 30 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 65535 Font Color : 0 Horizontal Alignment : center Vertical Alignment : center Input Type : character Text : Max. Text Size : 20 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tId Attributes ID : 10 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 100 y coordinate : 290 Width : 100 Height : 29 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 65535 Font Color : 0 Horizontal Alignment : center Vertical Alignment : center Input Type : character Text : Max. Text Size : 20 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tHeading Attributes ID : 11 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 23 y coordinate : 26 Width : 345 Height : 30 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 2 Back. Color : 6371 Font Color : 65535 Horizontal Alignment : left Vertical Alignment : center Input Type : character Text : Max. Text Size : 40 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tText Attributes ID : 12 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 23 y coordinate : 74 Width : 397 Height : 171 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 0 Back. Color : 6371 Font Color : 65535 Horizontal Alignment : left Vertical Alignment : top Input Type : character Text : Max. Text Size : 500 Word wrap : enabled Horizontal Spacing : 0 Vertical Spacing : 0 Picture p0 Attributes ID : 1 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 0 y coordinate : 0 Width : 480 Height : 320 Effect : load Effect Priority : 0 Effect Time : 300 Picture ID : 0 Button b0 Attributes ID : 2 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 397 y coordinate : 8 Width : 50 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Font ID : 1 Back. Color : 6371 Back. Picture ID (Pressed) : 65535 Back. Color (Pressed) : 14823 Font Color (Unpressed) : 65535 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text :  Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 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 ID : 13 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 239 y coordinate : 261 Width : 182 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Font ID : 2 Back. Color : 6371 Back. Picture ID (Pressed) : 8 Back. Color (Pressed) : 1024 Font Color (Unpressed) : 65535 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 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 ID : 14 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Opacity : 127 x coordinate : 24 y coordinate : 261 Width : 182 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Font ID : 2 Back. Color : 6371 Back. Picture ID (Pressed) : 8 Back. Color (Pressed) : 1024 Font Color (Unpressed) : 65535 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 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 ID : 6 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 ID : 7 Scope : local Period (ms): 50 Enabled : yes Events Timer Event // data available if(usize>1) { bufferPos=0 while(bufferPos