
22-01-2006, 14:55
|
 |
 |
...and you can't! teach! that!
 FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
|
|
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,554
|
|
|
Re: Using Switches on the Operator Interface
Well, p4_x is an analog variable, so you'd have to rig up some resistors in varying amounts to get different values for the switch positions. (I'm not entirely sure on the values of the resistors, so I won't guess.) Alternatively, you could wire it to two different digital inputs.
__________________
William "Billfred" Leverette - Gamecock/ Jessica Boucher victim/ Marketing & Sales Specialist at AndyMark
2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor
|