Fixed Fan page rounding

This commit is contained in:
Edward Firmo
2023-07-03 01:45:36 +02:00
parent d1c1dc018b
commit 661e51671a
10 changed files with 167 additions and 66 deletions

View File

@@ -12,12 +12,19 @@ Page entitypage01
Events
Preinitialize Event
printh 92
prints "nspanelevent",0
printh 00
prints "{\"page\": \"entitypage01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
printh 00
printh FF FF FF
dim=home.brightness.val
if(home.api.val==0)
{
page home
}else
{
printh 92
prints "nspanelevent",0
printh 00
prints "{\"page\": \"entitypage01\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
printh 00
printh FF FF FF
}
Touch Press Event
printh 92