Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
I did a copy paste of the example you referenced. That successfully executes the steps shown above. I changed the I2C_BUS value to 0 and see that same error you reported. As I do not have a device ACKing that address I then did change the address value to match my attached devices as validated with i2cdetect -y 1 and reset the I2C_BUS to 1. It executes to completion. Guess all I accomplished is validate the example works. Maybe time to run with a debugger and determine if others changed you made created this condition. |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm having some trouble with getting the I2c to work.
I keep getting the following error messages;
Is there something more that needs to be initialized? I'm following this example
Heres some of my code;
`
The I2C bus is 1
The I2C device is 0x48 as per the PCF8591 module
The I2C A0 is 0x40
`
Beta Was this translation helpful? Give feedback.
All reactions