This library is an adatation of Adafruit PM2.5 Air Quality sensor library for espidf
This library for espidf works with PM2.5 Air Quality Module from M5stack.
- Add
https://github.com/bjay-wk/pm25-espidf.gitto thelib_depsinplatformio.ini.
In src/idf_component.yml of your project add
pm25-espidf:
git: https://github.com/bjay-wk/pm25-espidf.gitAnd in src/CMakeLists.txt of your project
idf_component_register(...
REQUIRES pm25-espidf
...
)