Skip to content
  • Daan Vreeken's avatar
    Add a new block called 'oneshot'. · a9cd4e73
    Daan Vreeken authored
    When its 'reset' input is active, the output will always be off (=false).
    When the 'set' input is active, the output will be turned on.
    Once the 'set' input becomes inactive, the output will remain on for 'period'
    seconds and then turn off.
    A parameter called 'force' allows the block to be forced into the 'set' or
    'reset' states.
    
    	new file:   block/block_oneshot.c
    a9cd4e73