mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-01 02:20:12 +01:00
sync (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
964cfc1289
commit
f5d1a93eb2
@@ -857,7 +857,14 @@ Button bNext
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardGrid,bNext"
|
||||
tSend.txt="event,buttonPress2,cardGrid,"
|
||||
if(bPrev.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
{
|
||||
tSend.txt+="bNext"
|
||||
}
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -1123,6 +1130,11 @@ Timer tmSerial
|
||||
tsw mSwipeNext,1
|
||||
bNext.txt="î³"
|
||||
}
|
||||
if(tTmp.txt=="2")
|
||||
{
|
||||
vis bNext,1
|
||||
bNext.txt="î"
|
||||
}
|
||||
// get Type
|
||||
spstr strCommand.txt,type1.txt,"~",3
|
||||
// get internal name
|
||||
|
||||
Reference in New Issue
Block a user