Closed dglaude closed 4 years ago
This should fix #6
Looks good. Did you also test just to make sure it all still runs as expected?
Yes, I have recovered my hardware and it was tested.
Actually, I never tested on Adafruit Stemma/breakout but only on my older Pimoroni Breakout Garden version. This is why I would love to see someone plugging a Stemma cable between a PyGamer and the Adafruit mlx90640 breakout board. (please take a picture).
I also have a PyPortal, so I may do a version with that resolution (but first I need to find/build a Stemma to Pimoroni Breakout Garden cable).
OK. Those are just different ways of making the I2C connection. So shouldn't really matter in terms of testing the code. As long as you had some hardware setup for testing, should be fine.
Use simpleio.map_range, remove custom function, more comments, cleaning, rename to max_t and min_t, general improvement.
No new functionality, just possibly easier to understand code and removing a custom function doing map_range.