pitrix/config.sample.h

35 lines
990 B
C
Raw Normal View History

//#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
uint8_t config_brightness = 20; // Can be overwritten via MQTT_TOPIC_BRIGHTNESS
2019-05-21 03:52:57 +00:00
#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 MQTT_TOPIC_BRIGHTNESS "pitrix/brightness"
#define MQTT_TOPIC_EFFECT_CYCLE_TIME "pitrix/cycle_time"
#define MQTT_TOPIC_REBOOT "pitrix/reboot"
2019-05-21 03:52:57 +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
uint16_t config_effect_cycle_time = 300; // Time in seconds between cycling effects.