|
Help with rangefinder sensor (RobotC)
Now that we're heading into our second year, we're attempting to implement some sensors into our robot. Better now, than during next season see, because then we know what we're doing. Moreso, anyway. Anyway, we have a Parallax Ping)))), and it's wired up to Digital IO 1 and 2. But we can't seen to get it to work in the code. It shows values between 0 and 1 in debug.
Anyone have any ideas or experience in this area?
|