Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text)

This commit is contained in:
joBr99
2023-05-13 10:11:26 +00:00
committed by github-actions[bot]
parent 52ee1de46a
commit 708904863b
5 changed files with 392 additions and 492 deletions

View File

@@ -588,11 +588,11 @@ Timer tmSerial
{
if(type1.txt=="delete"||type1.txt=="")
{
qrcode m1.x,m1.y,200,65535,defaultBcoColor,-1,vaQR.txt
qrcode m1.x,m1.y,200,65535,defaultBcoColor,-1,8,vaQR.txt
}
}else
{
qrcode m0.x,m0.y,200,65535,defaultBcoColor,-1,vaQR.txt
qrcode m0.x,m0.y,200,65535,defaultBcoColor,-1,8,vaQR.txt
}
}
if(tInstruction.txt=="time")
@@ -737,7 +737,7 @@ Timer tmSleep
{
sleepValue=0
dim=dimValue
tSend.txt="event,sleepReached,cardAlarm"
tSend.txt="event,sleepReached,cardQR"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC