The coder of our team left & now I’m the coder.
I’ve been looking for help to shorten my autonomous code, any ideas?
Sorry if these are silly mistakes!
1 Like
Try using “spinFor(direction, time, units)” to get rid of “wait(time, units)”
In full, “spinFor(dir, rotation, units, velocity, units_v, waitForCompletion)”
Explore VEXcode V5 API Reference Guide - Learn Coding in Blocks, Python & C++ — VEXcode Documentation
Navigate to IQ (I don’t know if you’re using gen1 or gen2)
1 Like