0

IC2 device & pybadge
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

IC2 device & pybadge

by vivbowman on Fri Sep 24, 2021 8:29 pm

Hi, I am using the
from adafruit_pybadger import pybadger
with pybadge, but it is giving an error:
ValueError: No I2C device at address: 0x18

Any ideas?

vivbowman
 
Posts: 3
Joined: Tue Oct 11, 2016 8:51 pm

Re: IC2 device & pybadge

by dastels on Sat Sep 25, 2021 2:46 pm

The accelerometer would appear to be bad.

Please try the following code in the REPL and post what it outputs. https://learn.adafruit.com/circuitpython-essentials/circuitpython-i2c#find-your-sensor-2985153-11

Dave

dastels
 
Posts: 7505
Joined: Tue Oct 20, 2015 3:22 pm

Re: IC2 device & pybadge

by vivbowman on Sat Sep 25, 2021 3:06 pm

Hi Dave,
It says:
IC2 addresses found: [ ]

vivbowman
 
Posts: 3
Joined: Tue Oct 11, 2016 8:51 pm

Re: IC2 device & pybadge

by dastels on Sat Sep 25, 2021 8:34 pm

OK, the accelerometer is definitely unresponsive, then.

Please email support@adafruit.com with a link to this thread, your order number, and request the replacement of one PyBadge.

Dave

dastels
 
Posts: 7505
Joined: Tue Oct 20, 2015 3:22 pm

Re: IC2 device & pybadge

by vivbowman on Tue Sep 28, 2021 8:43 pm

I have the PyBadge LC. It doesn't have an accelerometer. Is there example code for the PyBadge LC?

vivbowman
 
Posts: 3
Joined: Tue Oct 11, 2016 8:51 pm

Please be positive and constructive with your questions and comments.