Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
This commit is contained in:
@@ -12,14 +12,21 @@ Page buttonpage01
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
printh 92
|
||||
prints "nspanelevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"buttonpage01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
dim=home.brightness.val
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
printh 92
|
||||
prints "nspanelevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"buttonpage01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
}
|
||||
|
||||
Touch Press Event
|
||||
printh 92
|
||||
|
||||
Reference in New Issue
Block a user