Media player first buttons actions

This commit is contained in:
Edward Firmo
2023-09-11 23:21:57 +02:00
parent 7452dfd2bb
commit e1a078fea5
89 changed files with 2076 additions and 171 deletions

View File

@@ -12,7 +12,6 @@ Page settings
Events
Preinitialize Event
dim=brightness
covx brightslider.val,bright_text.txt,0,0
bright_text.txt+="%"
covx dimslider.val,dim_text.txt,0,0
@@ -388,3 +387,26 @@ Hotspot bt_dim_up
printh FF FF FF
}
Timer wakeup_timer
Attributes
ID : 21
Scope : local
Period (ms): 100
Enabled : yes
Events
Timer Event
if(dim<brightness)
{
dimdelta=brightness-dim
dimdelta/=10
if(dimdelta<1)
{
dimdelta=1
}
dim+=dimdelta
}else
{
wakeup_timer.en=0
}