1516X High Stakes 2.0
Codebase for 1516X High Stakes season
Loading...
Searching...
No Matches
sweeper.cpp
Go to the documentation of this file.
1#include "robot/sweeper.h"
2
3#include "globals.h"
4
5using namespace Robot;
6using namespace Robot::Globals;
7
9 if (controller.get_digital_new_press(pros::E_CONTROLLER_DIGITAL_Y)) {
10 SweeperControl.toggle();
11 }
12}
13
void run()
Runs sweeper.
Definition sweeper.cpp:8
pros::adi::Pneumatics SweeperControl('B', false)
pros::Controller controller(pros::E_CONTROLLER_MASTER)
Definition auton.h:8