|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Programming ultrasonic sensor in MPlab
Hi,
I'm trying to program a vex controller with MPlab and I can't seem to figure out how to program the utlrasonic sensor. I understand the concept that (speed of sound x return time)/2 = distance but how do I implement it. I know C syntax and have programmed FRC before, and vex a little. It's just that when I program for my team, most of the time it's control related, or I'm just changing the values of an existing function so I'm not exactly sure how to make this work. Any Help would be apreciated. (For reference I have the sensor plugged into Digital 11 and Interupt 1) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming Vex w/ MPLab | dababyjebus | FIRST Tech Challenge | 27 | 04-25-2008 09:11 AM |
| Programming - Getting Started | Mark McLeod | Programming | 80 | 04-16-2008 11:37 PM |
| Programming the parallax PING))) Ultrasonic Sensor | edman | Programming | 3 | 02-18-2006 11:37 PM |
| MPLAB Help, programming and compiling | RedOctober | Programming | 2 | 12-23-2005 05:46 PM |
| Programming Sub-Team Problems | Phil Paspalas | Programming | 9 | 01-19-2005 09:42 PM |