AMG88xx library doesn't notice missing sensor

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Bongos
 
Posts: 4
Joined: Wed Jul 06, 2016 12:34 pm

AMG88xx library doesn't notice missing sensor

Post by Bongos »

Hi.

In the Adafruit_AMG88xx library, the example sketch "pixels_test.ino" has this line of code...

Code: Select all

Serial.println("Could not find a valid AMG88xx sensor, check wiring!");
However, even with the sensor physically disconnected, that code is never executed. Instead, pixels_test.ino prints phantom thermistor values.

Regards-

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: AMG88xx library doesn't notice missing sensor

Post by adafruit_support_bill »

Looks like the 'begin' function of the library does not actually read anything back from the device, so it always returns 'true'.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”