[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: programming I2C

> -----Original Message-----
> From: owner-dev-etrax@xxxxxxx.com]On">mailto:owner-dev-etrax@xxxxxxx.com]On
> Behalf Of fjrg_cesinel@xxxxxxx.com
> Sent: woensdag 16 juli 2003 13:15
> To: dev-etrax@xxxxxxx.com
> Subject: programming I2C
> Hi all, 
>   I'm trying to access to an i2c device which i connected to the 
>   board Etrax 100LX. 
>   I have made a program to access to it, but i didn't get it. 
>   I tried to open the i2c driver (7dev7i2c) but when i setup the 
>   device number, it gives an error. 

What does your program look like, and how do you 'setup the device number'?

You know there only is an ioctl interface for the i2c driver?