Temperature sensing with badger2040w

Hello,

Does anybody have some example code on extending badgerOS to display temperature (with a temperature module connected with stemma).

In other words, I’d like to keep the badger as it is, but add a function to display temperature (and other environmental properties captured by the stemma unit). (Ideally, an example that would fit straight into pimoroni-pico/micropython/examples/badger2040w at main · pimoroni/pimoroni-pico · GitHub)

Happy to use any stemma unit available in the UK, as long as it has at least temperature - but anything else is a bonus!

I’ve added code to GitHub - pimoroni/badger2040: Examples and firmware for Badger 2040 and Badger 2040 W via a PR here:
Adding temperature sensing (IEQ; indoor environmental quality) + roll-over for qr code by bjohas · Pull Request #8 · pimoroni/badger2040 · GitHub.

The actual code is here: badger2040/ieq.py at main · OpenDevEd/badger2040 · GitHub