get_actual — Get actual I/O value
fix32 get_actual(uint8 io);
Get the original initialized I/O value indexed by io.
An I/O value is initialized with the current state value of the input element to it mapped. |
get_actual() will always return the original initialized value, even if set_val() is used to set an new value. |
The actual I/O value.
main { set_val(BUTTON_5, 0.0); if(get_actual(BUTTON_5) >= 75.5) { set_val(BUTTON_5, 100.0); } }