36 uint8_t prev_data_list [21];
41 uint8_t prev_vector_dir;
51 uint8_t command (
const uint8_t cmd);
68 void begin (
const uint8_t init_i2c_address = 0x02);
uint8_t get_max_idx()
Gets the channel number that reads the strongest IR intensity.
uint8_t set_addr_0x02()
Sets I2C address of the module to 0x02.
uint8_t get_max_val()
Gets the strongest IR intensity reading among all channels.
uint8_t set_addr_0x01()
Sets I2C address of the module to 0x01.
uint8_t turn_off_leds()
Turns off LEDs.
uint8_t get_min_val()
Gets the weakest IR intensity reading among all channels.
uint8_t get_avg_val()
Gets the mean average IR intensity reading of all channels.
uint8_t reset()
Software resets the module.
void begin(const uint8_t init_i2c_address=0x02)
Activates this compound eye module.
uint32_t read_eeprom()
Gets the EEPROM values.
bool test_comm()
Checks whether communication is established.
uint8_t set_filter_on()
Turns on the signal filter.
uint8_t get_ball_angle()
Gets the ball angle.
uint8_t get_channel_val(const uint8_t channel)
Reads the IR intensity of a specific channel.
uint8_t calibrate()
Initializes the hardware.
uint8_t set_filter_off()
Turns off the signal filter.
CompoI(const uint32_t init_port)
Creates a CompoI object.
uint8_t get_min_idx()
Gets the channel number that reads the weakest IR intensity.
uint8_t turn_on_leds()
Turns on LEDs.
Supported_sensor()
Creates an object of a supported sensor.
Definition Supported_sensor.h:23