. (add nextion2text)

This commit is contained in:
joBr99
2022-11-16 18:40:09 +00:00
committed by github-actions[bot]
parent bc14bd651c
commit 7ba2a17064
6 changed files with 185 additions and 43 deletions

View File

@@ -31,6 +31,34 @@
│ crcputs tSend.txt,0 │ crcputs tSend.txt,0
│ //send cmd │ //send cmd
├── screensaver.txt ├── screensaver.txt
│ @@ -252,25 +252,25 @@
│ Attributes
│ Scope : local
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ Associated Keyboard : none
│ Text :
│ - Max. Text Size : 10
│ + Max. Text Size : 5
│ Text tIcon2
│ Attributes
│ Scope : local
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ Associated Keyboard : none
│ Text :
│ - Max. Text Size : 10
│ + Max. Text Size : 5
│ Text tMR
│ Attributes
│ Scope : local
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ @@ -351,15 +351,15 @@ │ @@ -351,15 +351,15 @@
│ Text tTime │ Text tTime
│ Attributes │ Attributes
@@ -48,3 +76,20 @@
│ Scope : local │ Scope : local
│ Dragging : 0 │ Dragging : 0
│ Disable release event after dragging: 0 │ Disable release event after dragging: 0
│ @@ -474,16 +474,14 @@
│ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
│ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
│ if(tAMPM.txt=="")
│ {
│ vis tAMPM,0
│ }
│ spstr strCommand.txt,tTimeAdd.txt,"~",2
│ - ref tIcon1
│ - ref tIcon2
│ }
│ if(tInstruction.txt=="date")
│ {
│ //get set date to global variable
│ spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
│ tDate.txt=pageIcons.vaDate.txt
│ }

View File

@@ -646,3 +646,49 @@
│ crcputs sys0,2 │ crcputs sys0,2
│ crcputs tSend.txt,0 │ crcputs tSend.txt,0
│ //send cmd │ //send cmd
├── screensaver.txt
│ @@ -252,25 +252,25 @@
│ Attributes
│ Scope : local
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ Associated Keyboard : none
│ Text :
│ - Max. Text Size : 10
│ + Max. Text Size : 5
│ Text tIcon2
│ Attributes
│ Scope : local
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ Associated Keyboard : none
│ Text :
│ - Max. Text Size : 10
│ + Max. Text Size : 5
│ Text tMR
│ Attributes
│ Scope : local
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ @@ -474,16 +474,14 @@
│ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
│ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
│ if(tAMPM.txt=="")
│ {
│ vis tAMPM,0
│ }
│ spstr strCommand.txt,tTimeAdd.txt,"~",2
│ - ref tIcon1
│ - ref tIcon2
│ }
│ if(tInstruction.txt=="date")
│ {
│ //get set date to global variable
│ spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
│ tDate.txt=pageIcons.vaDate.txt
│ }

View File

@@ -0,0 +1,47 @@
+++ /dev/fd/62 2022-11-16 18:40:01.549752158 +0000
+reensaver.txt
+25 +252,25 @@
+ributes
+ Scope : local
+ Dragging : 0
+ Disable release event after dragging: 0
+ Send Component ID : disabled
+ Associated Keyboard : none
+ Text :
+ Max. Text Size : 10
+ Max. Text Size : 5
+
+con2
+ributes
+ Scope : local
+ Dragging : 0
+ Disable release event after dragging: 0
+ Send Component ID : disabled
+ Associated Keyboard : none
+ Text :
+ Max. Text Size : 10
+ Max. Text Size : 5
+
+R
+ributes
+ Scope : local
+ Dragging : 0
+ Disable release event after dragging: 0
+ Send Component ID : disabled
+16 +474,14 @@
+ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
+ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
+ if(tAMPM.txt=="")
+ {
+ vis tAMPM,0
+ }
+ spstr strCommand.txt,tTimeAdd.txt,"~",2
+ ref tIcon1
+ ref tIcon2
+ }
+ if(tInstruction.txt=="date")
+ {
+ //get set date to global variable
+ spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
+ tDate.txt=pageIcons.vaDate.txt
+ }

View File

@@ -34,6 +34,10 @@ cardGrid
42 Component(s) 42 Component(s)
490 Line(s) of event code 490 Line(s) of event code
286 Unique line(s) of event code 286 Unique line(s) of event code
screensaver
45 Component(s)
391 Line(s) of event code
290 Unique line(s) of event code
cardMedia cardMedia
34 Component(s) 34 Component(s)
406 Line(s) of event code 406 Line(s) of event code
@@ -46,10 +50,6 @@ popupFan
27 Component(s) 27 Component(s)
347 Line(s) of event code 347 Line(s) of event code
202 Unique line(s) of event code 202 Unique line(s) of event code
screensaver
45 Component(s)
389 Line(s) of event code
288 Unique line(s) of event code
cardPower cardPower
43 Component(s) 43 Component(s)
435 Line(s) of event code 435 Line(s) of event code
@@ -74,5 +74,5 @@ cardEntities
Total Total
17 Page(s) 17 Page(s)
578 Component(s) 578 Component(s)
7046 Line(s) of event code 7048 Line(s) of event code
1816 Unique line(s) of event code 1818 Unique line(s) of event code

View File

@@ -127,7 +127,7 @@ Text t10
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 46 x coordinate : 46
y coordinate : 199 y coordinate : 201
Width : 360 Width : 360
Height : 2 Height : 2
Effect : load Effect : load
@@ -157,7 +157,7 @@ Text tAMPM
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 343 x coordinate : 343
y coordinate : 49 y coordinate : 52
Width : 104 Width : 104
Height : 57 Height : 57
Effect : load Effect : load
@@ -187,7 +187,7 @@ Text tDate
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 0 x coordinate : 0
y coordinate : 162 y coordinate : 165
Width : 450 Width : 450
Height : 32 Height : 32
Effect : load Effect : load
@@ -217,7 +217,7 @@ Text tF1Icon
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 146 x coordinate : 146
y coordinate : 243 y coordinate : 245
Width : 40 Width : 40
Height : 35 Height : 35
Effect : load Effect : load
@@ -247,7 +247,7 @@ Text tF2Icon
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 228 x coordinate : 228
y coordinate : 243 y coordinate : 245
Width : 40 Width : 40
Height : 35 Height : 35
Effect : load Effect : load
@@ -277,7 +277,7 @@ Text tF3Icon
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 309 x coordinate : 309
y coordinate : 243 y coordinate : 245
Width : 40 Width : 40
Height : 35 Height : 35
Effect : load Effect : load
@@ -307,7 +307,7 @@ Text tF4Icon
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 390 x coordinate : 390
y coordinate : 243 y coordinate : 245
Width : 40 Width : 40
Height : 35 Height : 35
Effect : load Effect : load
@@ -337,7 +337,7 @@ Text tForecast1
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 128 x coordinate : 128
y coordinate : 214 y coordinate : 216
Width : 72 Width : 72
Height : 26 Height : 26
Effect : load Effect : load
@@ -367,7 +367,7 @@ Text tForecast1Val
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 125 x coordinate : 125
y coordinate : 280 y coordinate : 282
Width : 71 Width : 71
Height : 25 Height : 25
Effect : load Effect : load
@@ -397,7 +397,7 @@ Text tForecast2
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 212 x coordinate : 212
y coordinate : 214 y coordinate : 216
Width : 72 Width : 72
Height : 25 Height : 25
Effect : load Effect : load
@@ -427,7 +427,7 @@ Text tForecast2Val
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 212 x coordinate : 212
y coordinate : 281 y coordinate : 283
Width : 72 Width : 72
Height : 25 Height : 25
Effect : load Effect : load
@@ -457,7 +457,7 @@ Text tForecast3
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 293 x coordinate : 293
y coordinate : 214 y coordinate : 216
Width : 72 Width : 72
Height : 25 Height : 25
Effect : load Effect : load
@@ -487,7 +487,7 @@ Text tForecast3Val
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 292 x coordinate : 292
y coordinate : 281 y coordinate : 283
Width : 71 Width : 71
Height : 25 Height : 25
Effect : load Effect : load
@@ -517,7 +517,7 @@ Text tForecast4
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 374 x coordinate : 374
y coordinate : 214 y coordinate : 216
Width : 72 Width : 72
Height : 25 Height : 25
Effect : load Effect : load
@@ -547,7 +547,7 @@ Text tForecast4Val
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 374 x coordinate : 374
y coordinate : 281 y coordinate : 283
Width : 72 Width : 72
Height : 25 Height : 25
Effect : load Effect : load
@@ -576,10 +576,10 @@ Text tIcon1
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 0 x coordinate : 3
y coordinate : 0 y coordinate : 0
Width : 38 Width : 85
Height : 38 Height : 40
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
Effect Time : 300 Effect Time : 300
@@ -589,11 +589,11 @@ Text tIcon1
Font ID : 1 Font ID : 1
Back. Color : 0 Back. Color : 0
Font Color : 17299 Font Color : 17299
Horizontal Alignment : center Horizontal Alignment : left
Vertical Alignment : center Vertical Alignment : center
Input Type : character Input Type : character
Text : Text :
Max. Text Size : 5 Max. Text Size : 10
Word wrap : disabled Word wrap : disabled
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0
@@ -606,10 +606,10 @@ Text tIcon2
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 413 x coordinate : 365
y coordinate : 0 y coordinate : 0
Width : 38 Width : 85
Height : 38 Height : 40
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
Effect Time : 300 Effect Time : 300
@@ -619,11 +619,11 @@ Text tIcon2
Font ID : 1 Font ID : 1
Back. Color : 0 Back. Color : 0
Font Color : 17299 Font Color : 17299
Horizontal Alignment : center Horizontal Alignment : right
Vertical Alignment : center Vertical Alignment : center
Input Type : character Input Type : character
Text : Text :
Max. Text Size : 5 Max. Text Size : 10
Word wrap : disabled Word wrap : disabled
Horizontal Spacing : 0 Horizontal Spacing : 0
Vertical Spacing : 0 Vertical Spacing : 0
@@ -637,7 +637,7 @@ Text tMR
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 144 x coordinate : 144
y coordinate : 274 y coordinate : 276
Width : 62 Width : 62
Height : 21 Height : 21
Effect : load Effect : load
@@ -667,7 +667,7 @@ Text tMRIcon
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 101 x coordinate : 101
y coordinate : 270 y coordinate : 272
Width : 40 Width : 40
Height : 35 Height : 35
Effect : load Effect : load
@@ -697,7 +697,7 @@ Text tMainIcon
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 26 x coordinate : 26
y coordinate : 206 y coordinate : 208
Width : 70 Width : 70
Height : 66 Height : 66
Effect : load Effect : load
@@ -727,7 +727,7 @@ Text tMainIconAlt
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 0 x coordinate : 0
y coordinate : 225 y coordinate : 227
Width : 100 Width : 100
Height : 66 Height : 66
Effect : load Effect : load
@@ -757,7 +757,7 @@ Text tMainText
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 7 x coordinate : 7
y coordinate : 271 y coordinate : 273
Width : 110 Width : 110
Height : 43 Height : 43
Effect : load Effect : load
@@ -787,7 +787,7 @@ Text tMainTextAlt
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 104 x coordinate : 104
y coordinate : 214 y coordinate : 216
Width : 106 Width : 106
Height : 42 Height : 42
Effect : load Effect : load
@@ -817,7 +817,7 @@ Text tNotifyHead
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 0 x coordinate : 0
y coordinate : 205 y coordinate : 207
Width : 450 Width : 450
Height : 58 Height : 58
Effect : load Effect : load
@@ -847,7 +847,7 @@ Text tNotifyText
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 0 x coordinate : 0
y coordinate : 262 y coordinate : 264
Width : 450 Width : 450
Height : 47 Height : 47
Effect : load Effect : load
@@ -877,7 +877,7 @@ Text tTime
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 37 x coordinate : 37
y coordinate : 18 y coordinate : 21
Width : 376 Width : 376
Height : 112 Height : 112
Effect : load Effect : load
@@ -907,7 +907,7 @@ Text tTimeAdd
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 0 x coordinate : 0
y coordinate : 130 y coordinate : 133
Width : 450 Width : 450
Height : 32 Height : 32
Effect : load Effect : load
@@ -1050,6 +1050,8 @@ Timer tmSerial
vis tAMPM,0 vis tAMPM,0
} }
spstr strCommand.txt,tTimeAdd.txt,"~",2 spstr strCommand.txt,tTimeAdd.txt,"~",2
ref tIcon1
ref tIcon2
} }
if(tInstruction.txt=="date") if(tInstruction.txt=="date")
{ {

View File

@@ -256,7 +256,7 @@ Text tIcon1
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard : none Associated Keyboard : none
Text : Text :
Max. Text Size : 5 Max. Text Size : 10
Text tIcon2 Text tIcon2
Attributes Attributes
@@ -266,7 +266,7 @@ Text tIcon2
Send Component ID : disabled Send Component ID : disabled
Associated Keyboard : none Associated Keyboard : none
Text : Text :
Max. Text Size : 5 Max. Text Size : 10
Text tMR Text tMR
Attributes Attributes
@@ -478,6 +478,8 @@ Timer tmSerial
vis tAMPM,0 vis tAMPM,0
} }
spstr strCommand.txt,tTimeAdd.txt,"~",2 spstr strCommand.txt,tTimeAdd.txt,"~",2
ref tIcon1
ref tIcon2
} }
if(tInstruction.txt=="date") if(tInstruction.txt=="date")
{ {