Re: Latching and unlatching a button
You may be running into a property of buttons called 'debouncing'
. Try the code below, which will add a pause command that should help accommodate for the debouncing:
Check out our Blog
! And our Facebook page
Need help? Take a look at our updated help documentation
and the ROBOTC Forums.