You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error while compiling the code :
In file included from C:\Users\Arshya\Documents\Arduino\libraries\MLX90640_I2C_Driver\MLX90640_I2C_Driver.cpp:19:0:
C:\Users\Arshya\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\Wire\src/Wire.h: In function 'int MLX90640_I2CRead(uint8_t, unsigned int, unsigned int, uint16_t*)':
C:\Users\Arshya\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\Wire\src/Wire.h:103:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int address, int size);
^
C:\Users\Arshya\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\Wire\src/Wire.h:101:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t address, uint8_t size);
Yet, I am able to compile it
When I try to upload and run it on serial monitor, I get the following line printed :
MLX90640 not detected at default I2C address. Please check wiring. Freezing
This seems to be from the if statement in the code.
Wire.beginTransmission((uint8_t)MLX90640_address);
if (Wire.endTransmission() != 0) {
Serial.println("MLX90640 not detected at default I2C address. Please check wiring. Freezing.");
while (1);
Any way to resolve this?
The text was updated successfully, but these errors were encountered:
Hi,
I am getting the following error while compiling the code :
In file included from C:\Users\Arshya\Documents\Arduino\libraries\MLX90640_I2C_Driver\MLX90640_I2C_Driver.cpp:19:0:
C:\Users\Arshya\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\Wire\src/Wire.h: In function 'int MLX90640_I2CRead(uint8_t, unsigned int, unsigned int, uint16_t*)':
C:\Users\Arshya\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\Wire\src/Wire.h:103:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int address, int size);
^
C:\Users\Arshya\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\Wire\src/Wire.h:101:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t address, uint8_t size);
Yet, I am able to compile it
When I try to upload and run it on serial monitor, I get the following line printed :
MLX90640 not detected at default I2C address. Please check wiring. Freezing
This seems to be from the if statement in the code.
Wire.beginTransmission((uint8_t)MLX90640_address);
if (Wire.endTransmission() != 0) {
Serial.println("MLX90640 not detected at default I2C address. Please check wiring. Freezing.");
while (1);
Any way to resolve this?
The text was updated successfully, but these errors were encountered: