IC2 device & pybadge

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
vivbowman
 
Posts: 3
Joined: Tue Oct 11, 2016 8:51 pm

IC2 device & pybadge

Post by vivbowman »

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?

User avatar
dastels
 
Posts: 15674
Joined: Tue Oct 20, 2015 3:22 pm

Re: IC2 device & pybadge

Post by dastels »

The accelerometer would appear to be bad.

Please try the following code in the REPL and post what it outputs. https://learn.adafruit.com/circuitpytho ... 2985153-11

Dave

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

Re: IC2 device & pybadge

Post by vivbowman »

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

User avatar
dastels
 
Posts: 15674
Joined: Tue Oct 20, 2015 3:22 pm

Re: IC2 device & pybadge

Post by dastels »

OK, the accelerometer is definitely unresponsive, then.

Please email [email protected] with a link to this thread, your order number, and request the replacement of one PyBadge.

Dave

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

Re: IC2 device & pybadge

Post by vivbowman »

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

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

Return to “Adafruit CircuitPython”