wait

if 'wait' is high, a pulse at inlet'go' will set outlet 'go' to high. if 'wait' is low, outlet 'go' is low.
Author: Robert Schirmer
License: BSD
Github: rbrt/control/wait.axo

Inlets

bool32 bypass

bool32.risingfalling high = wait for trig at go.low = stop.

bool32.rising go!

Outlets

bool32 Go!

Declaration
bool go;
Control Rate
if (!inlet_bypass) {
  if ((inlet_wait && !go) && inlet_go)
    go = 1;
  if (!inlet_wait)
    go = 0;
} else
  go = inlet_wait;

outlet_go = go;

Privacy

© 2024 Zrna Research