-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.h
30 lines (24 loc) · 875 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
#ifndef CONFIG_H
#define CONFIG_H
#include <FastLED.h>
// Network configuration
#define NETWORK_SSID "YOUR_NETWORK_SSID"
#define NETWORK_PASSWORD "YOUR_NETWORK_PASSWORD"
#define SERVER_IP_ADDRESS IPAddress(192, 168, 0, 2)
#define SERVER_UDP_PORT 2812
// Static IP configuration (optional)
#define ROUTER_IP_ADDRESS IPAddress(192, 168, 0, 1)
#define STATIC_IP_ADDRESS IPAddress(192, 168, 0, 2)
#define SUBNET_MASK IPAddress(255, 255, 255, 0)
#define DNS_PRIMARY IPAddress(1, 1, 1, 1)
#define DNS_SECONDARY IPAddress(8, 8, 8, 8)
// Comment this out if you don't want over-the-air update capability
#define OTA_UPDATES_ENABLED
// LED strip configuration
#define LED_COUNT 300
#define CHIPSET WS2812B
#define RGB_ORDER GRB
#define CLOCK_PIN -1 // Leave as -1 if you are using a clockless chipset
#define DATA_PIN 18
const String STAGE_PROP_CODE = "PROP_1";
#endif CONFIG_H