globals
This commit is contained in:
parent
e6d222cc31
commit
55a29d785e
7
RELENTLESS/include/globals.hpp
Normal file
7
RELENTLESS/include/globals.hpp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#include "main.h"
|
||||||
|
#include "okapi/api.hpp"
|
||||||
|
#include "lemlib/api.hpp"
|
||||||
|
|
||||||
|
namespace globals {
|
||||||
|
extern pros::Controller controller;
|
||||||
|
}
|
||||||
12
RELENTLESS/src/globals.cpp
Normal file
12
RELENTLESS/src/globals.cpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#include "globals.hpp"
|
||||||
|
|
||||||
|
namespace globals {
|
||||||
|
pros::Controller controller(pros::E_CONTROLLER_MASTER);
|
||||||
|
|
||||||
|
// Chassis
|
||||||
|
|
||||||
|
// Electronics / Pneumatics / Sensors
|
||||||
|
|
||||||
|
// Misc
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user