Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: AM2321_Example mbed_vfd_thermometer
Homepage

 
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. | |
