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

@@ -692,6 +692,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
@@ -723,6 +727,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
@@ -754,6 +762,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
@@ -785,6 +797,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
@@ -816,6 +832,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
@@ -847,6 +867,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
@@ -893,6 +917,10 @@ Timer tmSerial
{
page screensaver
}
if(tId.txt=="screensaver2")
{
page screensaver2
}
if(tId.txt=="cardEntities")
{
page cardEntities