Hi,

do you mean multiple SRF02 (i.e. more than one at the same time)? You can do 
this if you change the I2C adresses so that they are unique (refer to the 
documentation on how to do this). The adress is given in (0xE0 is the 
default):
  i2cdata_us.slave     = 0xE0;
You can make this parameter variable and use multiple sensors.

regards,

cornelius
Am Mittwoch, 15. Oktober 2008 schrieb Andrea Sassetti:
> Thanks for your help
> Is possible use this code for more SRF02?
>
> Best Regards Andrea
>
>
>
> 2008/10/15 Cornelius Claussen <[EMAIL PROTECTED]>
>
> >   Hi,
> >
> > I used the SRF02 some time ago. I attach the code I used at that time,
> > dont
> >
> > know if it is working (I dont work on the project anymore) and its
> > not "clean", but maybe it can serve as a starting point! You will need to
> > open the i2c before calling us_ranging() and close it if you dont need it
> > anymore.
> >
> > Have fun!
> >
> > -Cornelius
> >
> > Am Dienstag, 14. Oktober 2008 schrieb Andrea Sassetti:
> > > I'm an absolute beginner in working with the fox-board.
> > > someone has interfaced with the fox-borad sensors srf04 or sfr08(i2c)?
> > > please kindly post a sourcecode. please!
> > >
> > > Andrea
> >
> > --
> > Cornelius Claussen
> > opentek GbR
> > Mobile: +49 (0)175 6944518
> > E-Mail: [EMAIL PROTECTED] <cornelius.claussen%40opentek.de>
> > Internet: http://www.opentek.de
> > USt.-IdNr.: DE242952925



-- 
Cornelius Claussen
opentek GbR
Mobile: +49 (0)175 6944518
E-Mail: [EMAIL PROTECTED]
Internet: http://www.opentek.de
USt.-IdNr.: DE242952925

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/foxboard/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/foxboard/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to