mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-26 06:02:14 +01:00
untested fix for #768 (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
75fb6f8e5d
commit
209a2525ee
@@ -1410,6 +1410,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
|
||||
@@ -1441,6 +1445,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
|
||||
@@ -1472,6 +1480,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
|
||||
@@ -1503,6 +1515,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
|
||||
@@ -1534,6 +1550,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
|
||||
@@ -1565,6 +1585,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
|
||||
|
||||
Reference in New Issue
Block a user