View Single Post
  #9   Spotlight this post!  
Unread 04-02-2008, 16:45
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Ultrasonic sensors on digital ports 3-6 problems

The actual time I need is very very little. The spec sheet from parallax says ~19ms is the highest the pulse it gives. I had the sensors working 99% on ports 1&2, but I am now using something else on there. As far as the test goes, the number I recieve back is the same. Before I switched the if and the else I had 35 for distance and 25 for time and it stayed on that. When I switched it the value it stayed at around 876 or 875.
I could simplify it so that it saves to all 4 of the timers times all of the time instead of that one variable "Ultrasonic_Number" that I have
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -