26 #include "mraa/i2c.hpp" 27 #include "interfaces/iCO2Sensor.hpp" 64 T6713_COMMAND_GET_FIRMWARE_REVISION,
65 T6713_COMMAND_GET_GAS_PPM
74 SINGLE_POINT_CALIBRATION,
82 uint8_t function_code;
83 uint8_t register_address_msb;
84 uint8_t register_address_lsb;
85 uint8_t input_registers_to_read_msb;
86 uint8_t input_registers_to_read_lsb;
92 uint8_t function_code;
101 READ_INPUT_REGISTERS = 4,
103 WRITE_SINGLE_HOLDING_REGISTER
133 uint16_t getFirmwareRevision();
137 mraa::Result runCommand(t6713_co2::MODBUS_COMMANDS command);
138 uint16_t getSensorData(t6713_co2::MODBUS_COMMANDS cmd);
139 t6713_co2::STATUS getStatus();
virtual ~T6713()
Definition: t6713.hpp:119
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
Interface for CO Sensor.
Definition: iCO2Sensor.hpp:35
virtual const char * getModuleName()
Definition: t6713.hpp:124
Definition: t6713.hpp:107