Shop OBEX P1 Docs P2 Docs Learn Events
Ping radar - with a lock function — Parallax Forums

Ping radar - with a lock function

tronsnavytronsnavy Posts: 70
edited 2009-11-21 14:54 in Propeller 1
The wife went out last weekend to do some Christmas shopping (I hope she buys some Parallax stuff) while·I continued my learning of PASM.· Well, to say the least, I got bored; I needed a break.· After about an hour, I decided to add a "lock" function to my PING RADAR (that I posted in the "stamps in class" forum).· I know, I know, this is a "kid" thing.· But it was kinda fun.· You need to break-up the serious stuff every once in awhile!· Anyway, the attached program just requires a PING and a STANDARD SERVO.· It will scan, until it senses a target.· Then it will go into an "acquisition" phase.· Then, it will attempt to lock onto the target.· Once locked on, it will move to the "mid-point".· It will stay there until the target moves out of position.· A standard calculator works nice.· Then it will continue to scan.· Just some fun stuff.· Not really anything special.· Maybe the new guys/gals might like it.· Anyway, I needed a break, and this is the result.· Have a good one.· Back to the boring stuff (PASM).
·
Bob


Post Edited (tronsnavy) : 11/21/2009 2:47:56 PM GMT

Comments

Sign In or Register to comment.