Removed config.h.
This commit is contained in:
		@@ -1,37 +0,0 @@
 | 
				
			|||||||
#pragma once
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define CORNERS_PER_PART 3
 | 
					 | 
				
			||||||
#define LEDS_PER_CORNER 2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// Layout definition
 | 
					 | 
				
			||||||
// Every node has EDGES_PER_PART corners and edges.
 | 
					 | 
				
			||||||
// The edge the signal comes in is edge number 0.
 | 
					 | 
				
			||||||
// All other edges are numbered counter-clockwise.
 | 
					 | 
				
			||||||
// LAYOUT contains a list of edges the signal takes.
 | 
					 | 
				
			||||||
// First node is implied.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// Examples, assuming EDGES_PER_PART == 3:
 | 
					 | 
				
			||||||
// Example: Nodes arranged in a circle: {1, 2, 2, 2, 2}
 | 
					 | 
				
			||||||
// Example: Nodes arranged in a line: {1, 2, 1, 2, 1, 2}
 | 
					 | 
				
			||||||
#define NODE_COUNT 5
 | 
					 | 
				
			||||||
#define LAYOUT {2, 1, 1, 2}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define LED_COUNT NODE_COUNT * CORNERS_PER_PART * LEDS_PER_CORNER
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define SPEEDUP 1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define MAX_MILLIAMPS 1000
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define WIFI_SSID "..."
 | 
					 | 
				
			||||||
#define WIFI_PASS "..."
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define MQTT_CLIENT_ID "espleaf"
 | 
					 | 
				
			||||||
#define MQTT_USER "..."
 | 
					 | 
				
			||||||
#define MQTT_PASS "..."
 | 
					 | 
				
			||||||
#define MQTT_SERVER "..."
 | 
					 | 
				
			||||||
#define MQTT_SERVER_PORT 1883
 | 
					 | 
				
			||||||
#define MQTT_TOPIC_STATE "espleaf/state"
 | 
					 | 
				
			||||||
#define MQTT_TOPIC_STATE_LONG "espleaf/state_long"
 | 
					 | 
				
			||||||
#define MQTT_TOPIC_COMMANDS "esplead/cmnd"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
//#define TEST_MODE
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user