- Try External clock !!! ( internal Osc is "not so accurate" ...)
- Place "Low trigger" just before "Pulsout"
Alain
- Try External clock !!! ( internal Osc is "not so accurate" ...)
- Place "Low trigger" just before "Pulsout"
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
i just tryied to use the external clock again.
but it is still not working.
any one with an idea, please ??????
what do you mean by check porta.0 , read post2 and 4 ????? do you mean that the porta.0 is analog and I shouldn't use it for digital signals input????
anyway , I moved the echo signal to differents port.b's and port.a's and nothing changed.
I tested few portB input pins with infrared detectors ( which worked fine) but when the echo input signal, is connected to the same portb that i just tested , and the trigger signal output (connected to portb output pins that i tested with LEDs) of my srf04 are connected , nothing is working
can you tell me clearly what do you have in mind please???
Have you seen this?
http://www.picbasic.co.uk/forum/showthread.php?t=561
Dave
Always wear safety glasses while programming.
thank you so much. you are a star
finally everything is working with internal clock and measurements well displayed on the lcd.
wasn't that easy to understand the data sheet but because of all of you guys, with all your examples and suggestions , i managed to find the right settings.
again thank you guys
God bless you all
Bookmarks