esp_err_t enable_switches()
Enables tactile switches on the sra board, sets up required gpio's in input pull-up mode.
Definition: switches.c:30
int read_switch(int switch_id)
Reads the state of one of the four switches on sra board.
Definition: switches.c:60