Skip to main content
Skip table of contents

Creating a pulse of less than 1 second using a push button

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
  1. Create a six-fold push button with LEDs (PB1).
  2. 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
    1. 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).

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.