I would be very interested in getting your adopted code. I have not been able to get the thermal unit to work with any of the examples.
Posts made by JaapM
RE: Hello @Hexyl I just finished to adopt the following example to Core2 (Arduino IDE). https://github.com/m5stack/M5Stack/tree/master/examples/Unit/THERMAL_MLX90640 I you interested I can share the code.