Print

Pulse generator like a slow PWM for any use: flasher, heating control,…

 

This subroutine provides a simple way to generate pulses like a slow PWM for any use: flasher, heating control,…

Subroutine

In this example:

  • Start = 1 (Always blinking)
  • Period (PWM Period) = 1500 ms
  • ONDelay (Duty Cycle) = 500 ms
  • Output = OutBitD6

Change the time base in the subroutine (ms, seconds, minutes,…)

 

You can dowload the subroutine: On-Delay-Periode