When I use this code, my rollers dont stop spinning, even when the button isn’t pressed.
My traybot is currently running as an over glorified pushbot
You need an else command that makes them brake.
3 Likes
What @enothecool said. Take a look at this example of just such a construction. Just like you added the extra else if
sections, you can use the block editing button to add an additional else
case that will be run if the if
and all else if
cases fail:
1 Like