untested fix for #768 (add nextion2text)

This commit is contained in:
joBr99
2023-02-13 21:33:10 +00:00
committed by github-actions[bot]
parent 75fb6f8e5d
commit 209a2525ee
12 changed files with 3928 additions and 171 deletions

View File

@@ -1266,6 +1266,10 @@ Timer tmSerial
// speed
spstr strCommand.txt,tTmp.txt,"~",34
covx tTmp.txt,t0Speed.val,0,0
if(p0.h==320)
{
t0Speed.val=t0Speed.val*-1
}
if(t0Speed.val>120)
{
t0Speed.val=120
@@ -1297,6 +1301,10 @@ Timer tmSerial
// speed
spstr strCommand.txt,tTmp.txt,"~",41
covx tTmp.txt,t1Speed.val,0,0
if(p0.h==320)
{
t1Speed.val=t1Speed.val*-1
}
if(t1Speed.val>120)
{
t1Speed.val=120
@@ -1328,6 +1336,10 @@ Timer tmSerial
// speed
spstr strCommand.txt,tTmp.txt,"~",48
covx tTmp.txt,t2Speed.val,0,0
if(p0.h==320)
{
t2Speed.val=t2Speed.val*-1
}
if(t2Speed.val>120)
{
t2Speed.val=120
@@ -1359,6 +1371,10 @@ Timer tmSerial
// speed
spstr strCommand.txt,tTmp.txt,"~",55
covx tTmp.txt,t3Speed.val,0,0
if(p0.h==320)
{
t3Speed.val=t3Speed.val*-1
}
if(t3Speed.val>120)
{
t3Speed.val=120
@@ -1390,6 +1406,10 @@ Timer tmSerial
// speed
spstr strCommand.txt,tTmp.txt,"~",62
covx tTmp.txt,t4Speed.val,0,0
if(p0.h==320)
{
t4Speed.val=t4Speed.val*-1
}
if(t4Speed.val>120)
{
t4Speed.val=120
@@ -1421,6 +1441,10 @@ Timer tmSerial
// speed
spstr strCommand.txt,tTmp.txt,"~",69
covx tTmp.txt,t5Speed.val,0,0
if(p0.h==320)
{
t5Speed.val=t5Speed.val*-1
}
if(t5Speed.val>120)
{
t5Speed.val=120
@@ -1467,6 +1491,10 @@ Timer tmSerial
{
page screensaver
}
if(tId.txt=="screensaver2")
{
page screensaver2
}
if(tId.txt=="cardEntities")
{
page cardEntities