cleaner code
This commit is contained in:
22
src/config.h
22
src/config.h
@ -11,10 +11,11 @@
|
||||
#define MAX_LEDS 170*8
|
||||
|
||||
// LED driver chip model - depends on strip
|
||||
#define LED_TYPE WS2811
|
||||
#define LED_TYPE WS2812
|
||||
|
||||
// RGB pin ordering - RGB, BGR, GBR, etc
|
||||
#define RGB_ORDER GBR
|
||||
//#define RGB_ORDER GBR
|
||||
#define RGB_ORDER GRB
|
||||
|
||||
// Max number of LED strips connected
|
||||
// 8 for ARGB Controller PCB
|
||||
@ -47,15 +48,20 @@
|
||||
|
||||
#define ETH_SPI_SPD 10000000
|
||||
|
||||
// Temporary: network and universe settings
|
||||
// network and universe settings
|
||||
|
||||
// Will be replaced with WebUI + EEPROM config
|
||||
// WebUI + EEPROM config
|
||||
// to allow for changing settings without recompiling
|
||||
#define HOSTNAME "Lighting.1"
|
||||
#define ETH_MODE "staticip" // comment out for DHCP
|
||||
#define IP_ADDR IPAddress(192,168,50,2)
|
||||
|
||||
extern IPAddress IP_ADDR;
|
||||
|
||||
extern unsigned short START_UNIVERSE;
|
||||
extern char HOSTNAME[64];
|
||||
|
||||
extern String ETH_MODE;
|
||||
|
||||
|
||||
#define update_path "/update"
|
||||
#define update_username "admin"
|
||||
#define update_password "Password@123"
|
||||
|
||||
#define START_UNIVERSE 1
|
||||
|
Reference in New Issue
Block a user