Go to Post I was dragged to the first team meeting in September my freshman year and a week later, found myself at Fall Classic. Needless to say, after experiencing the heat of a competition, I was in love. ... Robotics has become far more than just that. I get to do the coolest thing in the world. - Audrey Chu [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 05-09-2006, 12:07 AM
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,494
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
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)
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 10:55 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi