A tutorial series by ALBA, targeted towards beginners, with a focus on application (as opposed to theory) of the PROS environment and C programming in general Like Cody’s PROS tutorial series, only it’s still on youtube (for now)
As always, questions, comments, feedback, complaints, etc. are always welcome.
Thanks so much!! Our team is trying to train two new programmers and this will be very much appreciated by them! And me since I want to know how the programming side of stuff works
Ep 7: Deadbands and Holding a Lift Up (with If Statements)
In this episode we improve our driver control program by using if-then-else logic to hold our lift up and to create a deadband for our base so the motors don’t whine
Not everything will still be relevant, but, as long as the student is not allergic to reading the API documentation, they can probably quickly figure out what needs to change from the tutorials in this thread.
There are separate buttons within atom for compiling and uploading, but if those dont work then just open up a command prompt (assuming windows), cd to the pros project’s directory, then write
prosv5 mu
. ‘m’ is short for “make” which compiles the code, and ‘u’ is short for “upload”. If you want to also open a serial debug stream (which can be printed to within the program), then add a ‘t’ for “terminal”, so that your command becomes
prosv5 mut
.
If you need to download to a different slot, then first run