Search found 1 match
- 04 Feb 2017, 12:14
- Forum: ESP Easy: Projects / Applications
- Topic: long push, short push detection with a button (connected on gpio)
- Replies: 10
- Views: 13423
Re: long push, short push detection with a button (connected on gpio)
Hi, i'm using this rules to control 4 lights with 2 pushbuttons. on s2#S do TaskValueSet 9,1,[tv#tv]+1 TaskValueSet 9,2,[salon#salon]+1 timerSet,1,1 timerSet,2,2 endon on s1#S do TaskValueSet 9,3,[keuken#keuken]+1 TaskValueSet 9,4,[eetplaats#eetplaats]+1 timerSet,3,1 timerSet,4,2 endon on sw2#S=1 do...