Shop OBEX P1 Docs P2 Docs Learn Events
SRF235 code — Parallax Forums

SRF235 code

aridaiosaridaios Posts: 57
edited 2005-02-05 23:12 in BASIC Stamp
I have just received my SRF235 Ultrasonic range finder from Devantech Ltd (http://www.robot-electronics.co.uk)
Does anyone know·where to find·sample code for it?
Devantech ltd has not published·any examples yet.

Michael

Comments

  • Jim McCorisonJim McCorison Posts: 359
    edited 2005-02-05 21:45
    Micheal,

    Parallax sells the Devantech SRF04. Don't know how similar it would be to deal with codewise, but there is sample code at www.parallax.com/detail.asp?product_id=28015

    Jim
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-02-05 23:12
    The SRF235 is an I2C device.· I don't have one, but I have used the SRF-08 (also I2C); the attached program should get you started -- if you're using a BS2 (or BS2e or BS2sx).· If you have one of the BS2p-family modules, use I2COUT and I2CIN.





    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
Sign In or Register to comment.