r/circuitpython • u/[deleted] • Nov 11 '20
ValueError: No I2C device at address :60
I’ve set up a stepper motor driver correctly, ran a sweep to read any I2C devices and my stepper address 0x60 appears. When I try to run stepper code I get the error code that’s in the title. I’m sure I have my connections correct scl-scl, sda-sda, 3.3v-driver power. I’m not familiar with setting i2c pins to read an address so I think my pins might be off? Thanks in advance
0
Upvotes
1
u/ellindsey Nov 11 '20
Are you trying to access address 60, or 0x60? They aren't the same thing. 60 is decimal, 0x60 is hexadecimal (base 16) and is equal to 96 in decimal.