27 #include <mraa/uart.hpp>
63 RHUSB(std::string device);
106 bool dataAvailable(
unsigned int millis);
107 int writeStr(std::string data);
108 std::string readStr(
int len);
109 std::string sendCommand(std::string cmd);
UPM API for the Omega RH-USB Temperature and Humidity Sensor.
Definition: rhusb.h:56
RHUSB(std::string device)
Definition: rhusb.cxx:47
float getTemperature(bool fahrenheit=false)
Definition: rhusb.cxx:94
void update()
Definition: rhusb.cxx:60
~RHUSB()
Definition: rhusb.cxx:56
float getHumidity()
Definition: rhusb.cxx:102
std::string getFirmwareID()
Definition: rhusb.cxx:167