I am trying to create an autonomous program. Currently I just have everything where it says “add your autonomous code here” however I would like to change it. What I want to do is have some variable like say slow which I could put in my autonomous to make the motors drive at half speed. From what I have read I have to define my variables in the user routines fast.c file like this
/*** DEFINE USER VARIABLES AND INITIALIZE THEM HERE ***/
#define slow
however I don’t understand how that would know to set pwms 14 and 15 to 190. I am missing a large portion of the puzzle.