Trying to get my motor to brake once it reaches a certain position. To do this I wanted to use an if statement to detect the motor position. However when I tried to input the position I wanted to detect I got an error that I don’t know how to deal with since I’m new to programming.
I’m not positive but if you put a comma after the degrees and before the 90 it might fix it. I’m also not a programmer but have some experience. Hope it helps.
Appreciate the help. I kind of realized I made it poorly so I just had it spin to the orientation I wanted and then stop lmao