We have just started coding C++, and we are starting with VEXcode Pro V5. We have encountered an issue we couldn’t find a solution to. The we had multiple while loops(forever loops) and we want to initialize them at the same time for the driver control buttons to work. Here is a picture of our code:
We want the tank drive code and Intake R1 and R2 code to work and be able to spin the intake while driving. Is there a way to start both of these forever loops at the same time? Also, we have more code on the bottom, and we would also like to initialize the forever loops at the same time too.