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
{
8
kSOLID_WHITE
= 93,
9
kCHASE_RED
= -31,
10
kCHASE_BLUE
= -29,
11
kSOLID_GREEN
= 75,
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
RobotMap.h
kCHASE_BLUE
Definition:
EdgeLight.h:10
kBEAT_BLUE
Definition:
EdgeLight.h:12
Utils::EdgeLight::ledbuffer
LedColour ledbuffer
Definition:
EdgeLight.cpp:4
Utils::EdgeLight::Push
void Push()
Definition:
EdgeLight.cpp:11
kBEAT_RED
Definition:
EdgeLight.h:13
kSOLID_GREEN
Definition:
EdgeLight.h:11
Utils::EdgeLight::pLEDController
frc::Spark * pLEDController
Definition:
EdgeLight.cpp:5
kCHASE_RED
Definition:
EdgeLight.h:9
Utils
Definition:
EdgeLight.h:16
Utils::EdgeLight::Append
void Append(LedColour colour)
Definition:
EdgeLight.cpp:7
LedColour
LedColour
Definition:
EdgeLight.h:7
kSOLID_WHITE
Definition:
EdgeLight.h:8
src
main
include
Utils
EdgeLight.h
Generated by
1.8.13