Hello Stefano, Thanks very much for your suggestion.
Please could you explain to me how to use the source you submitted: http://developer.axis.com/wiki/doku.php?id=contributions#i2c_driver_update Do I have to recompile the kernel or what else ? Thanks a lot Paolo ----- Original Message ----- From: "stefano.pagnottelli" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, October 04, 2007 7:38 PM Subject: [foxboard] Re: SRF08 I2C sonar Hi I'm currently using the SRF08 sonar device with fox. In order to play with this device the i2c driver must support the Clock Stretching feature. (http://i2c-bus.org/clockstretching/) In this mode the slave can drive directly the clock line when a read command si sent. I have found only one driver which implement this feature, This driver can be found at this page http://developer.axis.com/wiki/doku.php?id=contributions. Bye Stefano --- In [email protected], "paolo.p196510" <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm in trouble with a SRF08 sonar. I'm not able to make it working. > The sonar is connected to the PB7-PB6 lines. > > I wrote the code below, when the program runs the led on the SRF08 > blinks and it is possible to hear a soft "tick" but the only value I > get is always 255. I put on PB7 and PB6 lines to pull up resistors > (1.8 K) connected to 5V line. > > Any suggestion ? > > Any help would be greatly appreciated !!! > > Thanks > > Paolo > >
