-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
31 lines (23 loc) · 899 Bytes
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//here we store all the parameters running through the project as a whole
// WiFi access data
//const char *ssid = "Centigrade-Legacy";
const char *ssid = "Teutonet";
// Gitlab Server
//const char* host = "gitlab.intranet.centigrade.de";
const char* host = "gitlab.centigrade.de";
// LED output mapping
const int greenLEDPinProject1 = 19;
const int blueLEDPinProject1 = 16;
const int redLEDPinProject1 = 15;
const int greenLEDPinProject2 = 21;
const int blueLEDPinProject2 = 18;
const int redLEDPinProject2 = 17;
// How often to poll for updates
const int updateDelayMillis = 5000;
long lastUpdateMillis = 0;
// Put the JSON input in memory
char input[] = "[{\"apiVersion\":\"/api/v4\",\"projectId\":\"253\"},{\"apiVersion\":\"/api/v4\",\"projectId\":\"237\"}]";
int urlSize = 3;
//int pState = 0;
enum PipelineState {PASSED, RUNNING, UNKNOWN, FAILED};
PipelineState pState = UNKNOWN;