Post 1 made on Wednesday November 10, 2010 at 21:02 |
deric.lts Long Time Member |
Joined: Posts: | September 2010 24 |
|
|
Hi, i'm working on an aircond control. Basically, I have two buttons and one panel with two buttons being Temp+ and Temp- to increase/decrease the aircond temperature while the panel displaying the aircond status (degree).
Whenever i press Temp+/Temp-, executeActions() will be executed to send the IR codes to set the aircond to the respective temp. Hence, there's a blocking wait for each press. I would like to have something like..when Temp+/Temp- is pressed, executeActions() will not be executed unless the user release it after some time so that it allows the user to continuously press Temp+/Temp- quickly without blocking until it reaches to the desired temp and IR is sent.
|
|
|