69 IMS(int16_t i2c_bus, int16_t i2c_address = IMS_ADDRESS_DEFAULT);
82 void write(IMS_WR_COMMAND cmd, uint8_t wr_data);
90 uint16_t
read(IMS_RD_COMMAND cmd);
API for the Catnip Electronics I2C moisture sensor.
Definition: ims.hpp:58
void sleep()
Definition: ims.cxx:106
void reset_i2c_address(uint8_t address_new)
Definition: ims.cxx:76
uint16_t read(IMS_RD_COMMAND cmd)
Definition: ims.cxx:90
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
uint16_t get_moisture()
Definition: ims.cxx:49
uint16_t get_version()
Definition: ims.cxx:40
void write(IMS_WR_COMMAND cmd, uint8_t wr_data)
Definition: ims.cxx:99
uint16_t get_light()
Definition: ims.cxx:58
void reset()
Definition: ims.cxx:83
C API for the Catnip Electronics I2C moisture sensor. This sensor must run at 100 kHz...
float get_temperature()
Definition: ims.cxx:67
IMS(int16_t i2c_bus, int16_t i2c_address=IMS_ADDRESS_DEFAULT)
Definition: ims.cxx:32
virtual ~IMS()
Definition: ims.hpp:74