FluffyBeanz1 wrote: » need now!........
Duane Degn wrote: » Here you go. Ping sensor code.
[FONT=Times]time VAR Word[/FONT] [COLOR=#0433FF][FONT=Times]DO[/FONT][/COLOR] [COLOR=#0433FF][FONT=Times] PULSOUT [COLOR=#000000]15, 5[/COLOR][/FONT][/COLOR] [FONT=Times][COLOR=#0433ff] PULSIN [/COLOR]15, 1, time[/FONT] [COLOR=#FF2600][FONT=Times][COLOR=#0433ff] DEBUG [/COLOR][COLOR=#952193]HOME[/COLOR][COLOR=#000000], [/COLOR]"time = "[COLOR=#000000], [/COLOR][COLOR=#011994]DEC5 [/COLOR][COLOR=#000000]time[/COLOR][/FONT][/COLOR] [COLOR=#0433FF][FONT=Times] PAUSE [COLOR=#000000]100[/COLOR][/FONT][/COLOR] [COLOR=#0433FF][FONT=Times]LOOP[/FONT][/COLOR]
Comments
Which Microprocessor?
Code for BS2 and Propeller chips available ate:
http://www.parallax.com/product/28015
in the download section.
Is not a good way to get a response.
Most people here are volunteers are are not on all the time. This being a weekend, people are out doing family things.
Please be patient.
Ping sensor code.
Your duplicate thread has been deleted. Cross posting is not permitted in the forum.
-Phil
Well done! Wish I'd thought of that.
Certainly don't want to hold you back. Here, this works...
I also went through the code step by step and explained it in noob style:
http://tymkrs.tumblr.com/post/23232206989/ping-sensor-code-analysis-1-of-3
http://tymkrs.tumblr.com/post/23294000615/ping-sensor-code-analysis-2-of-3
http://tymkrs.tumblr.com/post/23355428594/ping-sensor-code-analysis-3-of-3
Good luck