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?
IC2 device & pybadge
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15674
- Joined: Tue Oct 20, 2015 3:22 pm
Re: IC2 device & pybadge
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
Please try the following code in the REPL and post what it outputs. https://learn.adafruit.com/circuitpytho ... 2985153-11
Dave
- vivbowman
- Posts: 3
- Joined: Tue Oct 11, 2016 8:51 pm
Re: IC2 device & pybadge
Hi Dave,
It says:
IC2 addresses found: [ ]
It says:
IC2 addresses found: [ ]
- dastels
- Posts: 15674
- Joined: Tue Oct 20, 2015 3:22 pm
Re: IC2 device & pybadge
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
Please email [email protected] with a link to this thread, your order number, and request the replacement of one PyBadge.
Dave
- vivbowman
- Posts: 3
- Joined: Tue Oct 11, 2016 8:51 pm
Re: IC2 device & pybadge
I have the PyBadge LC. It doesn't have an accelerometer. Is there example code for the PyBadge LC?
Please be positive and constructive with your questions and comments.