I2C transaction structure.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.
float offset
offset to what one considers a zero distance to sensor in [m]
struct TFMiniI2C tfmini_i2c
void tfmini_i2c_downlink(void)
void tfmini_i2c_init(void)
Set the default values at initialization.
void tfmini_i2c_periodic(void)
Get the ranger current distance value.
void tfmini_i2c_event(void)
Ranger event function Basically just check the progress of the transation to prevent overruns during ...
bool update_agl
Do or don't update AGL ABI message.
uint16_t raw_dist
raw non scaled value from sensor
uint16_t strength
strength of reflect signal, not implemented ATM
float dist
Sacled distance measured in [m].
enum TFMiniI2CStatus status
struct i2c_transaction trans
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.