Shop OBEX P1 Docs P2 Docs Learn Events
SRF04 return value always zero — Parallax Forums

SRF04 return value always zero

ArchiverArchiver Posts: 46,084
edited 2002-12-19 23:53 in General Discussion
Hi,

I have SRF04 with BS2SX, power supply for SRF04 is 5V
regulated,powersupply fro BS2SX is 9V, my SRF04 is a good version
when lauch my programm, it return always 0.

I have tested more source code (robostore, advantech ..).

Thank you for your help

Badre.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-12-19 23:53
    --- In basicstamps@yahoogroups.com, "badreddinne_rahma
    <badreddinne_rahma@y...>" <badreddinne_rahma@y...> wrote:
    > Hi,
    >
    > I have SRF04 with BS2SX, power supply for SRF04 is 5V
    > regulated,powersupply fro BS2SX is 9V, my SRF04 is a good version
    > when lauch my programm, it return always 0.
    >
    > I have tested more source code (robostore, advantech ..).
    >
    > Thank you for your help
    >
    > Badre.

    I have resolved the problem replacing the line follow in the script.

    PULSOUT INIT,13 replaced by

    LOW INIT
    HIGH INIT

    And now is ok.

    Badre.
Sign In or Register to comment.