mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-21 05:34:45 +01:00
untested fix for #768 (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
75fb6f8e5d
commit
209a2525ee
@@ -722,6 +722,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
|
||||
@@ -753,6 +757,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
|
||||
@@ -784,6 +792,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
|
||||
@@ -815,6 +827,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
|
||||
@@ -846,6 +862,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
|
||||
@@ -877,6 +897,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