Post 3 made on Thursday November 11, 2010 at 02:07 |
deric.lts Long Time Member |
Joined: Posts: | September 2010 24 |
|
|
hi, i have tried the suggested method, but I have no idea why it failed since the function seems logic. Itz like an onHold function where executedActions will be executed after I hold the button for some time & released.
But what i am trying to do is like..lets say the initial aircond temp is 23deg, and the user try to increase the temp from 23deg to 30deg by pressing (press and release for 7 times, not holding the button). No IR should be sent for each Temp+ button press (or else will generates a delay for every single press due to executeActions) until the user stop pressing it at 30deg. In order to do this, therefore I need a counter for to do a background count where executeActions() will only be executed when the user stop pressing the button for some time after the button is released.
|
|
|