I2C Test / flile error

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
armagon29
Posts: 56
Joined: Thu May 07, 2009 4:40 pm
Been thanked: 2 times
Contact:

I2C Test / flile error

Post by armagon29 »

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
Attachments
I2Ctest.fcf
(6.5 KiB) Downloaded 249 times

User avatar
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

Post by Benj »

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.

Post Reply