26 #include "mraa/i2c.hpp"
27 #include "upm/iCO2Sensor.hpp"
63 T6713_COMMAND_GET_FIRMWARE_REVISION,
64 T6713_COMMAND_GET_GAS_PPM
75 SINGLE_POINT_CALIBRATION,
83 uint8_t function_code;
84 uint8_t register_address_msb;
85 uint8_t register_address_lsb;
86 uint8_t input_registers_to_read_msb;
87 uint8_t input_registers_to_read_lsb;
93 uint8_t function_code;
103 READ_INPUT_REGISTERS = 4,
105 WRITE_SINGLE_HOLDING_REGISTER
140 mraa::Result runCommand(t6713_co2::MODBUS_COMMANDS command);
141 uint16_t getSensorData (t6713_co2::MODBUS_COMMANDS cmd);
142 t6713_co2::STATUS getStatus();
T6713(int bus)
Definition: t6713.cxx:52
~T6713()
Definition: t6713.cxx:61
Interface for CO Sensor.
Definition: iCO2Sensor.hpp:36
const char * getModuleName()
Definition: t6713.cxx:66
uint16_t getPpm()
Definition: t6713.cxx:76
Definition: t6713.hpp:110
uint16_t getFirmwareRevision()
Definition: t6713.cxx:71