Expand description
§Plantower PMSA003I Driver for Embedded HAL
Driver for the PMSA003I particulate sensor using embedded-hal.
Works on no_std and supports both async and blocking operation.
See Pmsa003i for an example of how to use the library.
§Feature flags
async— enables async operationdefmt— derives defmt::Format for types and errors to help with loggingaqi— enables calculation of AQI values using the aqi crate
Structs§
- AirQuality
- Calucated AQI and human-readable level
- Pmsa003i
- Driver for the PMSA003I sensor
- Reading
- A reading from the sensor
Enums§
- AirQuality
Error - Error type for air quality calculations
- AirQuality
Level - Represents the human-friendly interpretation of the AQI
- Error