28 lines
658 B
C
28 lines
658 B
C
|
#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"
|
||
|
|
||
|
#define OTA_HOSTNAME "pitrix"
|
||
|
#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
|