The original driver lib has an i2c and a serial lib in its repo.
Adding this to the lib_deps in platformio.ini only imported the serial when I tried it, so I put the i2c driver lib here: https://github.com/misterinterrupt/NDIR/ and added that instead.
This needs to be physically tested. perhaps I have missed something obvious.
I followed this: https://rrivirr.github.io/rriv-documentation/integrating/adding-driver/steps.html
The original driver lib has an i2c and a serial lib in its repo. Adding this to the
lib_deps
inplatformio.ini
only imported the serial when I tried it, so I put the i2c driver lib here: https://github.com/misterinterrupt/NDIR/ and added that instead.This needs to be physically tested. perhaps I have missed something obvious.