IO Variants: 2
Variant: 1
frac32 input
bool32.rising trigger
frac32 output
int ntrig;
int latch;
if ((inlet_trig > 0) && !ntrig) {
latch = inlet_i;
ntrig = 1;
}
if (!(inlet_trig > 0))
ntrig = 0;
outlet_o = latch;
Variant: 2
int32 input
bool32.rising trigger
int32 output
int ntrig;
int latch;
if ((inlet_trig > 0) && !ntrig) {
latch = inlet_i;
ntrig = 1;
}
if (!(inlet_trig > 0))
ntrig = 0;
outlet_o = latch;