-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParams.h
38 lines (34 loc) · 1.4 KB
/
Params.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
32
33
34
35
36
37
38
#pragma once
#include <stdint.h>
class Params {
public:
static const uint16_t NUM_PIXELS = 192;
static const uint16_t JOY_DEAD_ZONE = 256;
static const uint8_t LED_PIN = 27;
static const uint8_t JOY_SW_PIN = 17;
static const uint8_t NB_EFFECTS = 28;
static const uint8_t NB_PALETTES = 54;
static const uint8_t FPS = 120;
static const uint8_t BRIGHTNESS = 0;
static const uint8_t MAX_WIFI_ATTEMPTS = 50;
static const uint8_t MAX_BRIGHTNESS = 255;
static const uint32_t DEFAULT_PRIMARY_COLOR = 0xFF0000;
static const uint32_t DEFAULT_SECONDARY_COLOR = 0x00FF00;
static const uint32_t DEFAULT_TERTIARY_COLOR = 0x0000FF;
static const char* PARAM_PAL;
static const char* PARAM_EFFECT;
static const char* PARAM_COLOR_0;
static const char* PARAM_COLOR_1;
static const char* PARAM_COLOR_2;
static const char* PARAM_SPEED;
static const char* PARAM_INTENSITY;
static const char* PARAM_BRIGHTNESS;
static const char* PARAM_NET_SSID;
static const char* PARAM_NET_PASS;
static const char* PARAM_NET_IP;
static const char* PARAM_NET_GATEWAY;
static const char* PARAM_NET_MASK;
static const char* PARAM_STATUS;
static const char* PARAM_EFFECT_LIST;
static const char* PARAM_PALETTE_LIST;
};