Hi, Alain,
thanks for the fast reaction and the Code sample.
I would like to build a "One Button Dimmer"
1. Short Press Button T1: Toggle LED1 on/off or off/on.
2. Long Press Button T1: Ramp the Light von LED1 up or Ramp the Light down depending on the one last "Long Press", Ramp direction toggle every "Long Press".
3. Before power off store the last Ramp value
See the schematic in the attachment
Every help is welcome,
Konrad




Bookmarks