m5stack / M5-ProductExampleCodes

All example codes of products supplied by M5Stack have been collected in this reposity.
MIT License
339 stars 485 forks source link

Update MLX90640_I2C_Driver.cpp #4

Closed tchisaka closed 5 years ago

tchisaka commented 5 years ago

Wire.endTransmission(false) will return 0 not 7. (ESP32 core v1.0.1)

tchisaka commented 5 years ago

THERMAL UNIT (MLX 90640) does not work with ESP core v1.0.1. To fix the issue, change the MLX90640_I2C_Driver.cpp line 46

Referernce: http://community.m5stack.com/topic/503/thermal-unit-mlx-90640-does-not-work

tchisaka commented 5 years ago

This is the same as pull request # 117 of m5stack/M5Stack.

https://github.com/m5stack/M5Stack/pull/117

graydonli commented 5 years ago

Thanks so much for your job!