. (add nextion2text)

This commit is contained in:
joBr99
2024-11-22 20:00:19 +00:00
committed by github-actions[bot]
parent 74a602c34d
commit 69e02b0886
6 changed files with 344 additions and 319 deletions

View File

@@ -336,7 +336,7 @@
│ Value: 0 │ Value: 0
│ Variable (int32) xc1 │ Variable (int32) xc1
│ @@ -370,160 +336,50 @@ │ @@ -370,165 +336,50 @@
│ Scope : local │ Scope : local
│ Dragging : 0 │ Dragging : 0
│ Send Component ID : disabled │ Send Component ID : disabled
@@ -347,8 +347,10 @@
│ - Events │ - Events
│ - Touch Press Event │ - Touch Press Event
│ - tSend.txt="event,buttonPress2,"+entn1.txt+",button" │ - tSend.txt="event,buttonPress2,"+entn1.txt+",button"
│ - if(entn1.txt!="") │ - if(entn1.txt=="")
│ - { │ - {
│ - tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
│ - }
│ - //send calc crc │ - //send calc crc
│ - btlen tSend.txt,sys0 │ - btlen tSend.txt,sys0
│ - crcrest 1,0xffff // reset CRC │ - crcrest 1,0xffff // reset CRC
@@ -360,7 +362,6 @@
│ - prints sys0,2 │ - prints sys0,2
│ - prints tSend.txt,0 │ - prints tSend.txt,0
│ - prints crcval,2 │ - prints crcval,2
│ - }
│ - │ -
│ Text f2Icon │ Text f2Icon
│ Attributes │ Attributes
@@ -374,8 +375,10 @@
│ - Events │ - Events
│ - Touch Press Event │ - Touch Press Event
│ - tSend.txt="event,buttonPress2,"+entn2.txt+",button" │ - tSend.txt="event,buttonPress2,"+entn2.txt+",button"
│ - if(entn2.txt!="") │ - if(entn2.txt=="")
│ - { │ - {
│ - tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
│ - }
│ - //send calc crc │ - //send calc crc
│ - btlen tSend.txt,sys0 │ - btlen tSend.txt,sys0
│ - crcrest 1,0xffff // reset CRC │ - crcrest 1,0xffff // reset CRC
@@ -387,7 +390,6 @@
│ - prints sys0,2 │ - prints sys0,2
│ - prints tSend.txt,0 │ - prints tSend.txt,0
│ - prints crcval,2 │ - prints crcval,2
│ - }
│ - │ -
│ Text f3Icon │ Text f3Icon
│ Attributes │ Attributes
@@ -401,8 +403,10 @@
│ - Events │ - Events
│ - Touch Press Event │ - Touch Press Event
│ - tSend.txt="event,buttonPress2,"+entn3.txt+",button" │ - tSend.txt="event,buttonPress2,"+entn3.txt+",button"
│ - if(entn3.txt!="") │ - if(entn3.txt=="")
│ - { │ - {
│ - tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
│ - }
│ - //send calc crc │ - //send calc crc
│ - btlen tSend.txt,sys0 │ - btlen tSend.txt,sys0
│ - crcrest 1,0xffff // reset CRC │ - crcrest 1,0xffff // reset CRC
@@ -414,7 +418,6 @@
│ - prints sys0,2 │ - prints sys0,2
│ - prints tSend.txt,0 │ - prints tSend.txt,0
│ - prints crcval,2 │ - prints crcval,2
│ - }
│ - │ -
│ Text f4Icon │ Text f4Icon
│ Attributes │ Attributes
@@ -428,8 +431,10 @@
│ - Events │ - Events
│ - Touch Press Event │ - Touch Press Event
│ - tSend.txt="event,buttonPress2,"+entn4.txt+",button" │ - tSend.txt="event,buttonPress2,"+entn4.txt+",button"
│ - if(entn4.txt!="") │ - if(entn4.txt=="")
│ - { │ - {
│ - tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
│ - }
│ - //send calc crc │ - //send calc crc
│ - btlen tSend.txt,sys0 │ - btlen tSend.txt,sys0
│ - crcrest 1,0xffff // reset CRC │ - crcrest 1,0xffff // reset CRC
@@ -441,7 +446,6 @@
│ - prints sys0,2 │ - prints sys0,2
│ - prints tSend.txt,0 │ - prints tSend.txt,0
│ - prints crcval,2 │ - prints crcval,2
│ - }
│ - │ -
│ Text f5Icon │ Text f5Icon
│ Attributes │ Attributes
@@ -455,8 +459,10 @@
│ - Events │ - Events
│ - Touch Press Event │ - Touch Press Event
│ - tSend.txt="event,buttonPress2,"+entn5.txt+",button" │ - tSend.txt="event,buttonPress2,"+entn5.txt+",button"
│ - if(entn5.txt!="") │ - if(entn5.txt=="")
│ - { │ - {
│ - tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
│ - }
│ - //send calc crc │ - //send calc crc
│ - btlen tSend.txt,sys0 │ - btlen tSend.txt,sys0
│ - crcrest 1,0xffff // reset CRC │ - crcrest 1,0xffff // reset CRC
@@ -468,7 +474,6 @@
│ - prints sys0,2 │ - prints sys0,2
│ - prints tSend.txt,0 │ - prints tSend.txt,0
│ - prints crcval,2 │ - prints crcval,2
│ - }
│ - │ -
│ -Text m0 │ -Text m0
│ - Attributes │ - Attributes
@@ -497,7 +502,7 @@
│ Send Component ID : disabled │ Send Component ID : disabled
│ Associated Keyboard: none │ Associated Keyboard: none
│ Text : PM │ Text : PM
│ @@ -705,15 +561,14 @@ │ @@ -710,15 +561,14 @@
│ if(tTmp.txt!="") │ if(tTmp.txt!="")
│ { │ {
│ covx tTmp.txt,defaultFontColor,0,0 │ covx tTmp.txt,defaultFontColor,0,0
@@ -513,7 +518,7 @@
│ if(tAMPM.txt=="") │ if(tAMPM.txt=="")
│ { │ {
│ vis tAMPM,0 │ vis tAMPM,0
│ @@ -834,44 +689,34 @@ │ @@ -839,44 +689,34 @@
│ //e6Val │ //e6Val
│ spstr strCommand.txt,e6Val.txt,"~",60 │ spstr strCommand.txt,e6Val.txt,"~",60
│ //f1Icon │ //f1Icon

View File

@@ -2279,7 +2279,7 @@
│ Value: 0 │ Value: 0
│ Variable (int32) xc1 │ Variable (int32) xc1
│ @@ -370,160 +324,50 @@ │ @@ -370,165 +324,50 @@
│ Scope : local │ Scope : local
│ Dragging : 0 │ Dragging : 0
│ Send Component ID : disabled │ Send Component ID : disabled
@@ -2290,8 +2290,10 @@
│ - Events │ - Events
│ - Touch Press Event │ - Touch Press Event
│ - tSend.txt="event,buttonPress2,"+entn1.txt+",button" │ - tSend.txt="event,buttonPress2,"+entn1.txt+",button"
│ - if(entn1.txt!="") │ - if(entn1.txt=="")
│ - { │ - {
│ - tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
│ - }
│ - //send calc crc │ - //send calc crc
│ - btlen tSend.txt,sys0 │ - btlen tSend.txt,sys0
│ - crcrest 1,0xffff // reset CRC │ - crcrest 1,0xffff // reset CRC
@@ -2303,7 +2305,6 @@
│ - prints sys0,2 │ - prints sys0,2
│ - prints tSend.txt,0 │ - prints tSend.txt,0
│ - prints crcval,2 │ - prints crcval,2
│ - }
│ - │ -
│ Text f2Icon │ Text f2Icon
│ Attributes │ Attributes
@@ -2317,8 +2318,10 @@
│ - Events │ - Events
│ - Touch Press Event │ - Touch Press Event
│ - tSend.txt="event,buttonPress2,"+entn2.txt+",button" │ - tSend.txt="event,buttonPress2,"+entn2.txt+",button"
│ - if(entn2.txt!="") │ - if(entn2.txt=="")
│ - { │ - {
│ - tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
│ - }
│ - //send calc crc │ - //send calc crc
│ - btlen tSend.txt,sys0 │ - btlen tSend.txt,sys0
│ - crcrest 1,0xffff // reset CRC │ - crcrest 1,0xffff // reset CRC
@@ -2330,7 +2333,6 @@
│ - prints sys0,2 │ - prints sys0,2
│ - prints tSend.txt,0 │ - prints tSend.txt,0
│ - prints crcval,2 │ - prints crcval,2
│ - }
│ - │ -
│ Text f3Icon │ Text f3Icon
│ Attributes │ Attributes
@@ -2344,8 +2346,10 @@
│ - Events │ - Events
│ - Touch Press Event │ - Touch Press Event
│ - tSend.txt="event,buttonPress2,"+entn3.txt+",button" │ - tSend.txt="event,buttonPress2,"+entn3.txt+",button"
│ - if(entn3.txt!="") │ - if(entn3.txt=="")
│ - { │ - {
│ - tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
│ - }
│ - //send calc crc │ - //send calc crc
│ - btlen tSend.txt,sys0 │ - btlen tSend.txt,sys0
│ - crcrest 1,0xffff // reset CRC │ - crcrest 1,0xffff // reset CRC
@@ -2357,7 +2361,6 @@
│ - prints sys0,2 │ - prints sys0,2
│ - prints tSend.txt,0 │ - prints tSend.txt,0
│ - prints crcval,2 │ - prints crcval,2
│ - }
│ - │ -
│ Text f4Icon │ Text f4Icon
│ Attributes │ Attributes
@@ -2371,8 +2374,10 @@
│ - Events │ - Events
│ - Touch Press Event │ - Touch Press Event
│ - tSend.txt="event,buttonPress2,"+entn4.txt+",button" │ - tSend.txt="event,buttonPress2,"+entn4.txt+",button"
│ - if(entn4.txt!="") │ - if(entn4.txt=="")
│ - { │ - {
│ - tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
│ - }
│ - //send calc crc │ - //send calc crc
│ - btlen tSend.txt,sys0 │ - btlen tSend.txt,sys0
│ - crcrest 1,0xffff // reset CRC │ - crcrest 1,0xffff // reset CRC
@@ -2384,7 +2389,6 @@
│ - prints sys0,2 │ - prints sys0,2
│ - prints tSend.txt,0 │ - prints tSend.txt,0
│ - prints crcval,2 │ - prints crcval,2
│ - }
│ - │ -
│ Text f5Icon │ Text f5Icon
│ Attributes │ Attributes
@@ -2398,8 +2402,10 @@
│ - Events │ - Events
│ - Touch Press Event │ - Touch Press Event
│ - tSend.txt="event,buttonPress2,"+entn5.txt+",button" │ - tSend.txt="event,buttonPress2,"+entn5.txt+",button"
│ - if(entn5.txt!="") │ - if(entn5.txt=="")
│ - { │ - {
│ - tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
│ - }
│ - //send calc crc │ - //send calc crc
│ - btlen tSend.txt,sys0 │ - btlen tSend.txt,sys0
│ - crcrest 1,0xffff // reset CRC │ - crcrest 1,0xffff // reset CRC
@@ -2411,7 +2417,6 @@
│ - prints sys0,2 │ - prints sys0,2
│ - prints tSend.txt,0 │ - prints tSend.txt,0
│ - prints crcval,2 │ - prints crcval,2
│ - }
│ - │ -
│ -Text m0 │ -Text m0
│ - Attributes │ - Attributes
@@ -2440,7 +2445,7 @@
│ Send Component ID : disabled │ Send Component ID : disabled
│ Associated Keyboard: none │ Associated Keyboard: none
│ Text : PM │ Text : PM
│ @@ -705,15 +549,14 @@ │ @@ -710,15 +549,14 @@
│ if(tTmp.txt!="") │ if(tTmp.txt!="")
│ { │ {
│ covx tTmp.txt,defaultFontColor,0,0 │ covx tTmp.txt,defaultFontColor,0,0
@@ -2456,7 +2461,7 @@
│ if(tAMPM.txt=="") │ if(tAMPM.txt=="")
│ { │ {
│ vis tAMPM,0 │ vis tAMPM,0
│ @@ -834,44 +677,34 @@ │ @@ -839,44 +677,34 @@
│ //e6Val │ //e6Val
│ spstr strCommand.txt,e6Val.txt,"~",60 │ spstr strCommand.txt,e6Val.txt,"~",60
│ //f1Icon │ //f1Icon

View File

@@ -1,4 +1,4 @@
+++ /dev/fd/62 2024-11-21 19:35:42.871078761 +0000 +++ /dev/fd/62 2024-11-22 20:00:11.734673876 +0000
+I/n2t-out/Program.s.txt +I/n2t-out/Program.s.txt
++ HMI/US/portrait/n2t-out/Program.s.txt ++ HMI/US/portrait/n2t-out/Program.s.txt
+1 +12,11 @@ +1 +12,11 @@
@@ -686,6 +686,13 @@
+ covx tTmp.txt,sys0,0,0 + covx tTmp.txt,sys0,0,0
+ hSlider6.maxval=sys0 + hSlider6.maxval=sys0
+ } + }
+ }
+ if(tInstruction.txt=="pageType")
+ {
+ sleepValue=0
+ //command format pageType,specialPageName
+ //write name of speical page to tId
+ spstr strCommand.txt,tId.txt,"~",1
+I/n2t-out/cardGrid.txt +I/n2t-out/cardGrid.txt
++ HMI/US/portrait/n2t-out/cardGrid.txt ++ HMI/US/portrait/n2t-out/cardGrid.txt
+ +7,14 @@ + +7,14 @@
@@ -939,13 +946,6 @@
+ spstr strCommand.txt,tEntity9.txt,"~",66 + spstr strCommand.txt,tEntity9.txt,"~",66
+ vis tEntity9,1 + vis tEntity9,1
+ } + }
+ }
+ if(tInstruction.txt=="pageType")
+ {
+ sleepValue=0
+ //command format pageType,specialPageName
+ //write name of speical page to tId
+ spstr strCommand.txt,tId.txt,"~",1
+I/n2t-out/cardLChart.txt +I/n2t-out/cardLChart.txt
++ HMI/US/portrait/n2t-out/cardLChart.txt ++ HMI/US/portrait/n2t-out/cardLChart.txt
+ +7,14 @@ + +7,14 @@
@@ -1821,7 +1821,7 @@
+ Value: 0 + Value: 0
+ +
+e (int32) xc1 +e (int32) xc1
+160 +324,50 @@ +165 +324,50 @@
+ Scope : local + Scope : local
+ Dragging : 0 + Dragging : 0
+ Send Component ID : disabled + Send Component ID : disabled
@@ -1832,8 +1832,10 @@
+nts +nts
+ Touch Press Event + Touch Press Event
+ tSend.txt="event,buttonPress2,"+entn1.txt+",button" + tSend.txt="event,buttonPress2,"+entn1.txt+",button"
+ if(entn1.txt!="") + if(entn1.txt=="")
+ { + {
+ tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
+ }
+ //send calc crc + //send calc crc
+ btlen tSend.txt,sys0 + btlen tSend.txt,sys0
+ crcrest 1,0xffff // reset CRC + crcrest 1,0xffff // reset CRC
@@ -1845,7 +1847,6 @@
+ prints sys0,2 + prints sys0,2
+ prints tSend.txt,0 + prints tSend.txt,0
+ prints crcval,2 + prints crcval,2
+ }
+ +
+Icon +Icon
+ributes +ributes
@@ -1859,8 +1860,10 @@
+nts +nts
+ Touch Press Event + Touch Press Event
+ tSend.txt="event,buttonPress2,"+entn2.txt+",button" + tSend.txt="event,buttonPress2,"+entn2.txt+",button"
+ if(entn2.txt!="") + if(entn2.txt=="")
+ { + {
+ tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
+ }
+ //send calc crc + //send calc crc
+ btlen tSend.txt,sys0 + btlen tSend.txt,sys0
+ crcrest 1,0xffff // reset CRC + crcrest 1,0xffff // reset CRC
@@ -1872,7 +1875,6 @@
+ prints sys0,2 + prints sys0,2
+ prints tSend.txt,0 + prints tSend.txt,0
+ prints crcval,2 + prints crcval,2
+ }
+ +
+Icon +Icon
+ributes +ributes
@@ -1886,8 +1888,10 @@
+nts +nts
+ Touch Press Event + Touch Press Event
+ tSend.txt="event,buttonPress2,"+entn3.txt+",button" + tSend.txt="event,buttonPress2,"+entn3.txt+",button"
+ if(entn3.txt!="") + if(entn3.txt=="")
+ { + {
+ tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
+ }
+ //send calc crc + //send calc crc
+ btlen tSend.txt,sys0 + btlen tSend.txt,sys0
+ crcrest 1,0xffff // reset CRC + crcrest 1,0xffff // reset CRC
@@ -1899,7 +1903,6 @@
+ prints sys0,2 + prints sys0,2
+ prints tSend.txt,0 + prints tSend.txt,0
+ prints crcval,2 + prints crcval,2
+ }
+ +
+Icon +Icon
+ributes +ributes
@@ -1913,8 +1916,10 @@
+nts +nts
+ Touch Press Event + Touch Press Event
+ tSend.txt="event,buttonPress2,"+entn4.txt+",button" + tSend.txt="event,buttonPress2,"+entn4.txt+",button"
+ if(entn4.txt!="") + if(entn4.txt=="")
+ { + {
+ tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
+ }
+ //send calc crc + //send calc crc
+ btlen tSend.txt,sys0 + btlen tSend.txt,sys0
+ crcrest 1,0xffff // reset CRC + crcrest 1,0xffff // reset CRC
@@ -1926,7 +1931,6 @@
+ prints sys0,2 + prints sys0,2
+ prints tSend.txt,0 + prints tSend.txt,0
+ prints crcval,2 + prints crcval,2
+ }
+ +
+Icon +Icon
+ributes +ributes
@@ -1940,8 +1944,10 @@
+nts +nts
+ Touch Press Event + Touch Press Event
+ tSend.txt="event,buttonPress2,"+entn5.txt+",button" + tSend.txt="event,buttonPress2,"+entn5.txt+",button"
+ if(entn5.txt!="") + if(entn5.txt=="")
+ { + {
+ tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
+ }
+ //send calc crc + //send calc crc
+ btlen tSend.txt,sys0 + btlen tSend.txt,sys0
+ crcrest 1,0xffff // reset CRC + crcrest 1,0xffff // reset CRC
@@ -1953,7 +1959,6 @@
+ prints sys0,2 + prints sys0,2
+ prints tSend.txt,0 + prints tSend.txt,0
+ prints crcval,2 + prints crcval,2
+ }
+ +
+ +
+ributes +ributes

View File

@@ -88,8 +88,8 @@ popupThermo
276 Unique line(s) of event code 276 Unique line(s) of event code
screensaver2 screensaver2
64 Component(s) 64 Component(s)
443 Line(s) of event code 448 Line(s) of event code
280 Unique line(s) of event code 272 Unique line(s) of event code
cardEntities cardEntities
67 Component(s) 67 Component(s)
1205 Line(s) of event code 1205 Line(s) of event code
@@ -98,5 +98,5 @@ cardEntities
Total Total
23 Page(s) 23 Page(s)
881 Component(s) 881 Component(s)
10793 Line(s) of event code 10798 Line(s) of event code
2471 Unique line(s) of event code 2472 Unique line(s) of event code

View File

@@ -903,8 +903,10 @@ Text f1Icon
Events Events
Touch Press Event Touch Press Event
tSend.txt="event,buttonPress2,"+entn1.txt+",button" tSend.txt="event,buttonPress2,"+entn1.txt+",button"
if(entn1.txt!="") if(entn1.txt=="")
{ {
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
}
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -916,7 +918,6 @@ Text f1Icon
prints sys0,2 prints sys0,2
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
}
Text f2Icon Text f2Icon
Attributes Attributes
@@ -950,8 +951,10 @@ Text f2Icon
Events Events
Touch Press Event Touch Press Event
tSend.txt="event,buttonPress2,"+entn2.txt+",button" tSend.txt="event,buttonPress2,"+entn2.txt+",button"
if(entn2.txt!="") if(entn2.txt=="")
{ {
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
}
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -963,7 +966,6 @@ Text f2Icon
prints sys0,2 prints sys0,2
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
}
Text f3Icon Text f3Icon
Attributes Attributes
@@ -997,8 +999,10 @@ Text f3Icon
Events Events
Touch Press Event Touch Press Event
tSend.txt="event,buttonPress2,"+entn3.txt+",button" tSend.txt="event,buttonPress2,"+entn3.txt+",button"
if(entn3.txt!="") if(entn3.txt=="")
{ {
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
}
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1010,7 +1014,6 @@ Text f3Icon
prints sys0,2 prints sys0,2
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
}
Text f4Icon Text f4Icon
Attributes Attributes
@@ -1044,8 +1047,10 @@ Text f4Icon
Events Events
Touch Press Event Touch Press Event
tSend.txt="event,buttonPress2,"+entn4.txt+",button" tSend.txt="event,buttonPress2,"+entn4.txt+",button"
if(entn4.txt!="") if(entn4.txt=="")
{ {
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
}
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1057,7 +1062,6 @@ Text f4Icon
prints sys0,2 prints sys0,2
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
}
Text f5Icon Text f5Icon
Attributes Attributes
@@ -1091,8 +1095,10 @@ Text f5Icon
Events Events
Touch Press Event Touch Press Event
tSend.txt="event,buttonPress2,"+entn5.txt+",button" tSend.txt="event,buttonPress2,"+entn5.txt+",button"
if(entn5.txt!="") if(entn5.txt=="")
{ {
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
}
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1104,7 +1110,6 @@ Text f5Icon
prints sys0,2 prints sys0,2
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
}
Text m0 Text m0
Attributes Attributes

View File

@@ -377,8 +377,10 @@ Text f1Icon
Events Events
Touch Press Event Touch Press Event
tSend.txt="event,buttonPress2,"+entn1.txt+",button" tSend.txt="event,buttonPress2,"+entn1.txt+",button"
if(entn1.txt!="") if(entn1.txt=="")
{ {
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
}
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -390,7 +392,6 @@ Text f1Icon
prints sys0,2 prints sys0,2
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
}
Text f2Icon Text f2Icon
Attributes Attributes
@@ -404,8 +405,10 @@ Text f2Icon
Events Events
Touch Press Event Touch Press Event
tSend.txt="event,buttonPress2,"+entn2.txt+",button" tSend.txt="event,buttonPress2,"+entn2.txt+",button"
if(entn2.txt!="") if(entn2.txt=="")
{ {
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
}
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -417,7 +420,6 @@ Text f2Icon
prints sys0,2 prints sys0,2
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
}
Text f3Icon Text f3Icon
Attributes Attributes
@@ -431,8 +433,10 @@ Text f3Icon
Events Events
Touch Press Event Touch Press Event
tSend.txt="event,buttonPress2,"+entn3.txt+",button" tSend.txt="event,buttonPress2,"+entn3.txt+",button"
if(entn3.txt!="") if(entn3.txt=="")
{ {
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
}
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -444,7 +448,6 @@ Text f3Icon
prints sys0,2 prints sys0,2
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
}
Text f4Icon Text f4Icon
Attributes Attributes
@@ -458,8 +461,10 @@ Text f4Icon
Events Events
Touch Press Event Touch Press Event
tSend.txt="event,buttonPress2,"+entn4.txt+",button" tSend.txt="event,buttonPress2,"+entn4.txt+",button"
if(entn4.txt!="") if(entn4.txt=="")
{ {
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
}
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -471,7 +476,6 @@ Text f4Icon
prints sys0,2 prints sys0,2
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
}
Text f5Icon Text f5Icon
Attributes Attributes
@@ -485,8 +489,10 @@ Text f5Icon
Events Events
Touch Press Event Touch Press Event
tSend.txt="event,buttonPress2,"+entn5.txt+",button" tSend.txt="event,buttonPress2,"+entn5.txt+",button"
if(entn5.txt!="") if(entn5.txt=="")
{ {
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
}
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -498,7 +504,6 @@ Text f5Icon
prints sys0,2 prints sys0,2
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
}
Text m0 Text m0
Attributes Attributes