27 #include <mraa/aio.hpp> 29 #include <mraa/gpio.hpp> 31 #include <mraa/spi.hpp> 65 static const uint8_t R_STS_READ_CMD = 0x00;
66 static const uint8_t R_STS_WRITE_CMD = 0x80;
67 static const uint8_t R_TEMPERATURE_LSB = 0x01;
68 static const uint8_t R_TEMPERATURE_MSB = 0x02;
70 static const uint8_t B_CONT_READING = 0x00;
102 mraa::Gpio m_csnPinCtx;
104 uint8_t readRegister (uint8_t reg);
105 void writeRegister (uint8_t reg, uint8_t data);
110 mraa::Result CSOn ();
115 mraa::Result CSOff ();
MAX31723(int bus, int csn)
Definition: max31723.cxx:34
API for the MAX31723 Temperature Sensor.
Definition: max31723.hpp:63
short getTemperature()
Definition: max31723.cxx:53
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
std::string name()
Definition: max31723.hpp:95