15 namespace duds {
namespace hardware {
namespace devices {
namespace instruments {
48 std::unique_ptr<duds::hardware::interface::I2c>
com;
71 AM2320(std::unique_ptr<duds::hardware::interface::I2c> &c);
A container for a value and a unit to better describe the value.
std::int16_t rawTemp() const
Ten times Celsius.
The received CRC value was not consistent with the message data.
std::uint16_t rh
Relative humidity.
Support for the AM2320, a temperature and relative humidity sensor with poorly written English docume...
std::unique_ptr< duds::hardware::interface::I2c > com
The I2C communication interface.
Base class for all AM2320 specific errors.
std::int16_t t
Temperature.
duds::hardware::interface::Conversation wake
Used to awaken the device; needed initially and after 3 or more seconds of not talking to the device...
Header for Conversarion; includes ConversationVector.hpp and ConversationExternal.hpp.
The base type for errors from devices.
std::uint16_t rawRelHumid() const
Ten times precentage.
duds::hardware::interface::Conversation read
Used to read in sampled data from the device.
An incorrect cyclic redundancy code (CRC) value was found.
Represents a two-way conversation with a device.