DeepSpace  2019
EdgeLight.h
Go to the documentation of this file.
1 #ifndef UTILS_EDGELIGHT_HG
2 #define UTILS_EDGELIGHT_HG
3 
4 #include <frc/Spark.h>
5 #include "RobotMap.h"
6 
7 enum LedColour{
9  kCHASE_RED = -31,
10  kCHASE_BLUE = -29,
12  kBEAT_BLUE = -23,
13  kBEAT_RED = -25
14 };
15 
16 namespace Utils{
17  namespace EdgeLight{
18  void Push();
19  void Append(LedColour colour);
20 
21  extern LedColour ledbuffer;
22  extern frc::Spark* pLEDController;
23  } // namespace EdgeLight
24 }
25 
26 #endif // _UTILS_EDGELIGHT_H
LedColour ledbuffer
Definition: EdgeLight.cpp:4
frc::Spark * pLEDController
Definition: EdgeLight.cpp:5
void Append(LedColour colour)
Definition: EdgeLight.cpp:7
LedColour
Definition: EdgeLight.h:7