Cargo Features
PMSA003I has no features set by default.
[dependencies]
pmsa003i = { version = "0.1.10", features = ["async", "defmt", "aqi"] }
- async
-
enables async operation
Enables embedded-hal-async
- defmt
-
derives defmt::Format for types and errors to help with logging
Enables defmt
- aqi
-
enables calculation of AQI values using the aqi crate
Enables aqi
Affects
types::Reading.aqi_pm2_5
,types::Reading.aqi_pm10
…