bool analog_read_digital(const uint8_t channel)
Reads the analog value in boolean.
uint16_t analog_read_mapped(const uint8_t channel)
Reads the mapped analog value.
void analog_start_cal()
Starts a new calibration of all analog channels.
bool analog_single_cal()
Processes 1 cycle of calibration for all analog channels.
uint16_t analog_read_threshold(const uint8_t channel)
Reads the white/black threshold.
uint16_t analog_read_raw(const uint8_t channel)
Reads the raw analog value.
void analog_end_cal()
Ends the calibration of all analog channels and store the data back into EEPROM.
void set_analog_reverse_flag(const uint8_t channel, const bool reverse_flag)
Sets the analog reverse direction flag.
bool get_analog_reverse_flag(const uint8_t channel)
Gets the analog reverse direction flag.