View Single Post
  #3   Spotlight this post!  
Unread 17-02-2006, 09:42
edman edman is offline
Registered User
#1113
 
Join Date: Jan 2005
Location: Philadelphia
Posts: 3
edman is an unknown quantity at this point
Cool Re: Programming the parallax PING))) Ultrasonic Sensor

Quote:
Originally Posted by scitobor 617
I have tested it on the full sized RC and it works well with no changes. I tried to rewrite the sonar driver to use only one digital IO pin but the pin cannot be changed quickly from output to input.
I have also tested it on the full RC but it does not build because it try to find the <pecdef.h> header file from Kevin's code. When I downloaded Kevin's code, I got an error message after including the sonar.c and sonar.h in the project. the message was making ref. to PIC18f8520 which is the microcontroller on the mini-rc. Can you tell me how you got it to work?

Last edited by edman : 17-02-2006 at 09:43. Reason: addition