What would coding look like to activate a button for an autonomous function?
It depends on the program you are using for coding.
eg. VEXcode, PROS
The simple way would be to just call the autonomous function when the button gets pushed.
Alternatively you could do a more advanced thing and run the autonomous function in a thread/task and have a timer to stop autonomous after some amount of time. That way it wouldn’t be able to to run for more than 15 or 60 seconds.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.