Page cardMedia Attributes ID : 0 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 vis p0,0 vis tSend,0 vis tInstruction,0 vis nPageDisp,0 vis tTmp,0 vis tId,0 //vis nPageDisp,0 //page open event // event,pageOpen,cardEntities,pageNumber // craft command // convert pageNumber and write to tTmp covx nPage,tTmp.txt,0,0 tSend.txt="event,pageOpen,"+tTmp.txt //send calc crc btlen tSend.txt,sys0 crcrest 1,0xffff // reset CRC crcputh 55 bb crcputs sys0,1 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 //display current page from global var nPageDisp.val=nPage Variable (string) strCommand Attributes ID : 8 Scope : local Text : Max. Text Size: 200 Variable (string) entn Attributes ID : 19 Scope : local Text : Max. Text Size: 50 Number nPageDisp Attributes ID : 6 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Value : 0 Text tSend Attributes ID : 2 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 ID : 3 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 ID : 9 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 ID : 10 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 ID : 11 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 40 Text tTitle Attributes ID : 12 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 50 Text tAuthor Attributes ID : 13 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 50 Text t2 Attributes ID : 14 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 10 Events Touch Press Event // event,1,tHeading,tEntityName,1,up //craft command // convert pageNumber and write to tTmp covx nPage,tTmp.txt,0,0 tSend.txt="event,buttonPress,"+tTmp.txt+"," tSend.txt+=tHeading.txt+"," tSend.txt+=entn.txt+"," tSend.txt+="1,media-next" //send calc crc btlen tSend.txt,sys0 crcrest 1,0xffff // reset CRC crcputh 55 bb crcputs sys0,1 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 Text tPlayPause Attributes ID : 15 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 10 Events Touch Press Event // event,1,tHeading,tEntityName,1,up //craft command // convert pageNumber and write to tTmp covx nPage,tTmp.txt,0,0 tSend.txt="event,buttonPress,"+tTmp.txt+"," tSend.txt+=tHeading.txt+"," tSend.txt+=entn.txt+"," tSend.txt+="1,media-pause" //send calc crc btlen tSend.txt,sys0 crcrest 1,0xffff // reset CRC crcputh 55 bb crcputs sys0,1 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 Text t0 Attributes ID : 16 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text :  Max. Text Size : 10 Events Touch Press Event // event,1,tHeading,tEntityName,1,up //craft command // convert pageNumber and write to tTmp covx nPage,tTmp.txt,0,0 tSend.txt="event,buttonPress,"+tTmp.txt+"," tSend.txt+=tHeading.txt+"," tSend.txt+=entn.txt+"," tSend.txt+="1,media-back" //send calc crc btlen tSend.txt,sys0 crcrest 1,0xffff // reset CRC crcputh 55 bb crcputs sys0,1 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 Text tIcon Attributes ID : 18 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Associated Keyboard : none Text : Max. Text Size : 10 Picture p0 Attributes ID : 1 Scope : local Dragging : 0 Disable release event after dragging: 0 Send Component ID : disabled Slider hVolume Attributes ID : 17 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 // event,buttonPress,D,nameEntity,internalNameEntity,1,positionSlider,50 //craft command // convert pageNumber and write to tTmp covx nPage,tTmp.txt,0,0 tSend.txt="event,buttonPress,"+tTmp.txt+"," tSend.txt+=tHeading.txt+"," tSend.txt+=entn.txt+"," tSend.txt+="1,volumeSlider," covx hVolume.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,1 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 Button bNext Attributes ID : 4 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 nPage=nPage+1 nPageDisp.val=nPage //page open event // event,pageOpen,cardEntities,pageNumber // craft command // convert pageNumber and write to tTmp covx nPage,tTmp.txt,0,0 tSend.txt="event,pageOpen,"+tTmp.txt //send calc crc btlen tSend.txt,sys0 crcrest 1,0xffff // reset CRC crcputh 55 bb crcputs sys0,1 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 Button bPrev Attributes ID : 5 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 nPage=nPage-1 nPageDisp.val=nPage //page open event // event,pageOpen,cardEntities,pageNumber // craft command // convert pageNumber and write to tTmp covx nPage,tTmp.txt,0,0 tSend.txt="event,pageOpen,"+tTmp.txt //send calc crc btlen tSend.txt,sys0 crcrest 1,0xffff // reset CRC crcputh 55 bb crcputs sys0,1 crcputs tSend.txt,0 //send cmd printh 55 bb prints sys0,2 prints tSend.txt,0 prints crcval,2 Timer tmSerial Attributes ID : 7 Scope : local Period (ms): 50 Enabled : yes Events Timer Event // data available if(usize>1) { bufferPos=0 while(bufferPos