Use case
At the first push of a button a lamp is activated. 0.4 seconds after the second push the lamp is deactivated. In this example a lamp is used, but you can also use another device.
Procedure
Creating the control and device
-
Create a six-fold push button with LEDs (PB1).
-
Create a lamp (LAMP1).
Creating the routine
Create a Custom routine (ROUT1). Use the following behaviour:
-
Control that initiates the routine: button 1 of the push button (PB1).
-
Devices that are part of the routine: LAMP1 Start behaviour: LAMP1: Value = on, Delay = 0 s LAMP1: Value = off, Delay = 0.4 s Stop behaviour: LAMP1: Value = on, Delay = 0 s LAMP1: Value = off, Delay = 0.4 s
Filling the cabinet and addressing the device
|
Fill the cabinet with ... |
and address the following device ... |
|---|---|
|
a switching module (3x) 2U ( MOD1 ) |
the lamp LAMP1. |
Example
Click here to download the programming example (nhc2 file).