#include <mb1242.h>
Definition at line 56 of file mb1242.h.
◆ I2CSonar()
◆ cb_finished_read()
void I2CSonar::cb_finished_read |
( |
uint8_t |
result | ) |
|
◆ cb_start_read()
void I2CSonar::cb_start_read |
( |
uint8_t |
result | ) |
|
◆ init()
void I2CSonar::init |
( |
I2C * |
_i2c | ) |
|
◆ is_initialized()
bool I2CSonar::is_initialized |
( |
| ) |
|
|
inline |
◆ present()
bool I2CSonar::present |
( |
| ) |
|
◆ read()
◆ update()
void I2CSonar::update |
( |
| ) |
|
◆ buffer_
uint8_t I2CSonar::buffer_[2] |
|
private |
◆ i2c_
◆ last_callback_ms_
uint32_t I2CSonar::last_callback_ms_ |
|
private |
◆ last_update_ms_
uint32_t I2CSonar::last_update_ms_ |
|
private |
◆ new_data_
◆ ready_to_ping_
bool I2CSonar::ready_to_ping_ |
|
private |
◆ sensor_initialized_
bool I2CSonar::sensor_initialized_ {false} |
|
private |
◆ sensor_present_
bool I2CSonar::sensor_present_ {false} |
|
private |
◆ value_
The documentation for this class was generated from the following files: