mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-14 08:58:17 +01:00
Add nextion2text
This commit is contained in:
@@ -1563,7 +1563,7 @@ Timer tmSerial
|
|||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||||
udelete u[2]+3
|
udelete payloadLength-1
|
||||||
bufferPos=0
|
bufferPos=0
|
||||||
}
|
}
|
||||||
if(tId.txt=="popupLight")
|
if(tId.txt=="popupLight")
|
||||||
|
|||||||
@@ -469,7 +469,7 @@ Timer tmSerial
|
|||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||||
udelete u[2]+3
|
udelete payloadLength-1
|
||||||
bufferPos=0
|
bufferPos=0
|
||||||
}
|
}
|
||||||
if(tId.txt=="cardEntities")
|
if(tId.txt=="cardEntities")
|
||||||
|
|||||||
@@ -493,7 +493,7 @@ Timer tmSerial
|
|||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||||
udelete u[2]+3
|
udelete payloadLength-1
|
||||||
bufferPos=0
|
bufferPos=0
|
||||||
}
|
}
|
||||||
if(tId.txt=="popupLight")
|
if(tId.txt=="popupLight")
|
||||||
|
|||||||
@@ -303,7 +303,7 @@ Timer tmSerial
|
|||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||||
udelete u[2]+3
|
udelete payloadLength-1
|
||||||
bufferPos=0
|
bufferPos=0
|
||||||
}
|
}
|
||||||
if(tId.txt=="popupLight")
|
if(tId.txt=="popupLight")
|
||||||
|
|||||||
Reference in New Issue
Block a user