AM2321 Temperature and Humidity Sensor mbed library

Dependents:   AM2321_Example mbed_vfd_thermometer

Homepage

/media/uploads/tomozh/am2321_1.png/media/uploads/tomozh/p5061476.jpg

Import programAM2321_Example

AM2321 Temperature and Humidity Sensor mbed library Example

Import library

Public Member Functions

  AM2321 (PinName sda, PinName scl)
  Constructor.
bool  poll ()
  Read current temperature and humidity from AM2321 .
float  getTemperature (void) const
  Get last read temperature value.
float  getHumidity (void) const
  Get last read humidity value.

All wikipages