![]() |
Encoder and Ultrasonic Help
A few of us got together the other day and worked on a few different things. Two of those things were quad encoders and a ultrasonic sensor.
We had readouts for both but only one seemed to be giving a readout of a value. We were only able to count up to 256ish on one encoder though. How would we properly code and wire these encoders so they could work properly? Below is some of the code that we have been using to test: Quote:
Below is some of the code we used to test: Quote:
-Tom H |
Re: Encoder and Ultrasonic Help
What ultrasonic sensor are you using? The ultrasonic class is meant to be used only with a certain model - most teams are using MaxBotix sensors, and for those all that is used is the AnalogInput class.
|
Re: Encoder and Ultrasonic Help
We are using the Vex Ultrasonic sensors
|
| All times are GMT -5. The time now is 22:19. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi