sparkfun / SparkFun_MLX90640_Arduino_Example

Controlling and reading from the MLX90640 IR array thermal imaging sensor
https://www.sparkfun.com/
Other
122 stars 35 forks source link

55: warning: unused variable 'vdd' #17

Closed h-Naima-s closed 5 years ago

h-Naima-s commented 5 years ago

I am using MLX90640 evaluation board and Teensy 3.2. I have connected SCL of sensor to Pin 19 of Teensy and SDA to Pin 18. The MLX90640 evaluation board as well as Teensy 3.2 I have powered by connecting it to my computer, so I have not connected VDD and GND of sensor anywhere on Teensy. When I am uploading the code, I am getting following error and the code is not working.

P_Teeny: In function 'void loop()': P_Teeny:55: warning: unused variable 'vdd' float vdd = MLX90640_GetVdd(mlx90640Frame, &mlx90640);

What is wrong here? something with code or pin connections i made. Please guide.