pimoroni / enviro

MIT License
105 stars 85 forks source link

Support SDC41 QTStemma board via detecting it via i2c address. #33

Closed fsargent closed 2 years ago

fsargent commented 2 years ago

This adds functionality to detect a single QT Stemma board. Right now the only supported module is the SCD41, but I think that this template should work for people to add boards as they need.

If no qtstemma boards are detected then nothing changes.

lowfatcode commented 2 years ago

Thank you for getting involved!

We don't plan to add support for individual breakouts into the main firmware as it would make keeping the size of the firmware under control quite difficult (MicroPython is pretty constrained both in filesystem space and performance when loading lots of extra code).

That said we can support this usecase with a more general approach allowing the user to customise their main.py and supply some extra readings to be included with the others.

See https://github.com/pimoroni/enviro/issues/41