I2C protocol

Hello,

I must implement the I2C protocol on my card EMX.
In Java there I2CPort class but I do not like class in C #.
could you help me?

Thank you

I assume you know this ?

[url]http://www.microframeworkprojects.com/index.php?title=Serial_Interfaces#I2C[/url]

Yes I have already seen this, but I use a class “Singleton” which inherits I2CPort in java and in my conversion in C # I miss method as setClockDelay

And I can not find any equivalent.

Thank you

By setClockDelay you mean changing the I2C clock rate or adding a delay between transactions ?

Just because java does it one way doesn’t mean you have to keep doing it that way :slight_smile:

Whats your problem? What do you think you need to “setclockdelay” for? The example code from the wiki should work straight off the bat, why even muck around without testing that?

Thank you, I think I have solved my problem.