2019-05-23 19:18:15 +00:00
|
|
|
//#define DEBUG
|
|
|
|
|
2019-05-21 03:52:57 +00:00
|
|
|
#define WIFI_SSID "....."
|
|
|
|
#define WIFI_PASS "....."
|
|
|
|
|
|
|
|
#define LED_WIDTH 16
|
|
|
|
#define LED_HEIGHT 16
|
|
|
|
#define LED_COUNT 256
|
|
|
|
#define LED_TYPE WS2812B
|
|
|
|
#define DATA_PIN 14
|
|
|
|
#define COLOR_ORDER GRB
|
|
|
|
|
|
|
|
#define NTP_SERVER "pool.ntp.org"
|
|
|
|
#define NTP_INTERVAL 60000
|
|
|
|
#define NTP_OFFSET 7200
|
|
|
|
|
|
|
|
#define MQTT_SERVER "....."
|
|
|
|
#define MQTT_PORT 1883
|
|
|
|
#define MQTT_USER "pitrix"
|
|
|
|
#define MQTT_PASS "....."
|
|
|
|
#define MQTT_TOPIC_MODE "pitrix/mode"
|
|
|
|
#define MQTT_TOPIC_STATUS "pitrix/status"
|
|
|
|
#define MQTT_TOPIC_LOG "pitrix/log"
|
|
|
|
|
2019-05-23 19:18:15 +00:00
|
|
|
#define HOSTNAME "pitrix-%08X"
|
2019-05-21 03:52:57 +00:00
|
|
|
#define OTA_STARTUP_DELAY 5 // How many seconds to wait at startup. Set to 0 to disable.
|
|
|
|
|
|
|
|
#define FPS 50
|
|
|
|
#define SHOW_TEXT_DELAY 100
|
2019-05-23 19:18:15 +00:00
|
|
|
#define EFFECT_CYCLE_TIME 60000
|