[En-Nut-Discussion] I2C (twi)

Bernard Fouché bernard.fouche at kuantic.com
Thu Sep 15 10:52:21 CEST 2005


Matthias Ringwald wrote:

>
>> - I need to call TwInit(v) once (with v= some unused valeur if I'm  
>> always master)
>> - I need to call TwIOCtl(int,void *) once to set the bus speed.
>> - I need to call TwMasterTransact() when needed.
>
> I told my students roughly this (they didn't use TwIOCtl AFAIK)
> and they confirmed that they sucessfully asked some i2c light sensor.

Thanks Matthias. Thanks also to Ole that gave me some sample code!

  Bernard



More information about the En-Nut-Discussion mailing list