Dear All:
Could you help me, I try to test the I2C protocol but it does not work, Could you explain me why?
Thanks AG
I2C Test / flile error
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: I2C Test / flile error
Hello,
When you are writing to the device the device address is 160 as specified in your program.
When reading from the device the address must change to 161 to inform the device that a read is taking place.
The I2C component help file explains how to communicate with a standard I2C device.
When you are writing to the device the device address is 160 as specified in your program.
When reading from the device the address must change to 161 to inform the device that a read is taking place.
The I2C component help file explains how to communicate with a standard I2C device.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel