Skip to content

Commit

Permalink
feat: Starting implementation of rerun in pros.
Browse files Browse the repository at this point in the history
  • Loading branch information
Absozero authored Sep 20, 2023
1 parent d68e091 commit dc881d9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,20 @@ void initialize() {
* the VEX Competition Switch, following either autonomous or opcontrol. When
* the robot is enabled, this task will exit.
*/

void initRerun(int rf, int rb, int lf, int lb, /*int lm, int rm,*/ int cat, int intake) {
uint8_t arr[6];
arr[0] = rf;
arr[1] = rb;
arr[2] = lf;
arr[3] = lb;
//arr[4] = lm;
//arr[5] = rm;
arr[4] = cat;
arr[5] = intake;
//Brain.SDcard.savefile("rerun.txt", arr, sizeof(arr));
}

void disabled() {}

/**
Expand Down

0 comments on commit dc881d9

Please sign in to comment.