SRF04 return value always zero
Archiver
Posts: 46,084
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 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
<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.