Page pageStartup Attributes ID : 0 Scope : local 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 vis p0,0 recmod=1 bauds=115200 vis tSend,0 vis tInstruction,0 vis tTmp,0 vis tId,0 vis bSendStartup,0 vis frame_ptr,0 vis spinner_w,0 vis frapic_w,0 vis usual_cnt,0 vis tMsg2,0 vis tMsg3,0 vis tVersion,0 dim=100 Postinitialize Event //send messages by clicking button click bSendStartup,1 Variable (string) strCommand Attributes ID : 5 Scope : local Text : Max. Text Size: 50 Variable (string) strTmp Attributes ID : 19 Scope : local Text : Max. Text Size: 2 Number frame_ptr Attributes ID : 10 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 11 y coordinate : 34 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 Value : 0 Significant digits shown: all Format : decimal Word wrap : enabled Horizontal Spacing : 0 Vertical Spacing : 0 Number frapic_w Attributes ID : 12 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 11 y coordinate : 100 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 Value : 1960 Significant digits shown: all Format : decimal Word wrap : enabled Horizontal Spacing : 0 Vertical Spacing : 0 Number spinner_w Attributes ID : 11 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 11 y coordinate : 67 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 Value : 140 Significant digits shown: all Format : decimal Word wrap : enabled Horizontal Spacing : 0 Vertical Spacing : 0 Number usual_cnt Attributes ID : 15 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 12 y coordinate : 134 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 Value : 0 Significant digits shown: all Format : decimal Word wrap : enabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tId Attributes ID : 7 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 282 y coordinate : 0 Width : 125 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 tInstruction Attributes ID : 6 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 163 y coordinate : 0 Width : 119 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 tMsg1 Attributes ID : 8 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 57 y coordinate : 223 Width : 375 Height : 30 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : flat Associated Keyboard : none Font ID : 1 Back. Color : 6371 Font Color : 65535 Horizontal Alignment: center Vertical Alignment : center Input Type : character Text : Waiting for content ... Max. Text Size : 40 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tMsg2 Attributes ID : 13 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 40 y coordinate : 256 Width : 408 Height : 25 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: center Vertical Alignment : center Input Type : character Text : This is taking longer than usual, Max. Text Size : 100 Word wrap : enabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tMsg3 Attributes ID : 14 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 40 y coordinate : 278 Width : 408 Height : 25 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: center Vertical Alignment : center Input Type : character Text : please check your backend configuration Max. Text Size : 100 Word wrap : enabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tSend Attributes ID : 2 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 0 y coordinate : 0 Width : 230 Height : 23 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 : 3 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 408 y coordinate : 0 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 : 30 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Text tVersion Attributes ID : 18 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 402 y coordinate : 101 Width : 78 Height : 72 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 : 53 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Picture p0 Attributes ID : 1 Scope : local 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 bSendStartup Attributes ID : 17 Scope : local Dragging : 0 Send Component ID : disabled Opacity : 127 x coordinate : 380 y coordinate : 39 Width : 63 Height : 50 Effect : load Effect Priority : 0 Effect Time : 300 Fill : solid color Style : 3D auto Font ID : 0 Back. Color : 50712 Back. Picture ID (Pressed): 65535 Back. Color (Pressed) : 1024 Font Color (Unpressed) : 0 Font Color (Pressed) : 65535 Horizontal Alignment : center Vertical Alignment : center State : unpressed Text : startup Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 Vertical Spacing : 0 Events Touch Press Event recmod=1 bauds=115200 // startup event tSend.txt="event,startup,"+tVersion.txt+",us-l" //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 mSpinner Attributes ID : 16 Scope : local Dragging : 0 Send Component ID: disabled Opacity : 127 x coordinate : 169 y coordinate : 49 Width : 140 Height : 140 Effect : load Effect Priority : 0 Effect Time : 300 Events Touch Press Event sys2=sys2+1 sys2%=10 //n0.val=sys2 if(sys2==9) { page pageTest } Timer tmSerial Attributes ID : 4 Scope : local Period (ms): 50 Enabled : yes Events Timer Event // data available if(usize>1) { bufferPos=0 while(bufferPos