Quote:
|
Originally Posted by Slick
I'm having a problem with receiving input from a switch to tell the robot which Autonomous Code to run. I have set a variable in the program and currently I have a switch is plugged into pwm01
|
The pwm pins are
outputs. You need to plug your switch in to one of the digital
inputs, and read the value of that input. See the RC documentation for details on which pins to connect to and how to access it in software.