Quote:
Originally Posted by nickcvet89
Thanks for the help so far, I was thinking would we be able to wire a potentiometer to a bread board and use that instead of trying to use a joystick for this function? If possible how would I program it to interact with the motor?
|
The Cypress board will work for connecting a potentiometer to the Driver Station. In the simple "compatible" mode, you can read up to four analog inputs and use the returned value to govern your motor speed.
You don't even have to use a physical potentiometer if you don't want to. The Driver Station has an I/O tab that lets you set the value of a virtual analog input, which the robot can read as if it were a real analog value.