|
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 -
|