get_prev — Get previous I/O value
fix32 get_prev(uint8 io);
Get the previous I/O value indexed by io.
The previous I/O value.
main { if(get_prev(BUTTON_5) == 0.0 && get_actual(BUTTON_5) > 0.0) { set_val(BUTTON_5, 0.0); } }