Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
|
b2ba2b5283 |
2 changed files with 22 additions and 8 deletions
|
@ -1,22 +1,22 @@
|
|||
//#define USE_WS2812FX_DMA // LED_PIN is ignored & set to RX/GPIO3 Uses WS2812FX, see: https://github.com/kitesurfer1404/WS2812FX
|
||||
#define USE_WS2812FX_DMA // LED_PIN is ignored & set to RX/GPIO3 Uses WS2812FX, see: https://github.com/kitesurfer1404/WS2812FX
|
||||
//#define USE_WS2812FX_UART1 // LED_PIN is ignored & set to D4/GPIO2 Uses WS2812FX, see: https://github.com/kitesurfer1404/WS2812FX
|
||||
//#define USE_WS2812FX_UART2 // LED_PIN is ignored & set to TX/GPIO1 Uses WS2812FX, see: https://github.com/kitesurfer1404/WS2812FX
|
||||
|
||||
// Neopixel
|
||||
#define LED_PIN 14 // LED_PIN (14 / D5) where neopixel / WS2811 strip is attached
|
||||
#define NUMLEDS 24 // Number of leds in the strip
|
||||
#define LED_PIN 3 // LED_PIN (14 / D5) where neopixel / WS2811 strip is attached
|
||||
#define NUMLEDS 30 // Number of leds in the strip
|
||||
//#define LED_TYPE_WS2811 // Uncomment if LED type uses 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
|
||||
#define BUILTIN_LED 2 // ESP-12F has the built in LED on GPIO2, see https://github.com/esp8266/Arduino/issues/2192
|
||||
#define BUTTON 4 // Input pin (4 / D2) for switching the LED strip on / off, connect this PIN to ground to trigger button.
|
||||
//#define BUTTON 4 // Input pin (4 / D2) for switching the LED strip on / off, connect this PIN to ground to trigger button.
|
||||
|
||||
#define HOSTNAME "McLighting01" // Friedly hostname
|
||||
#define HOSTNAME "led1" // Friedly hostname
|
||||
|
||||
#define HTTP_OTA // If defined, enable ESP8266HTTPUpdateServer OTA code.
|
||||
//#define ENABLE_OTA // If defined, enable Arduino OTA code.
|
||||
#define ENABLE_OTA // If defined, enable Arduino OTA code.
|
||||
#define ENABLE_AMQTT // If defined, enable Async MQTT code, see: https://github.com/marvinroger/async-mqtt-client
|
||||
//#define ENABLE_MQTT // If defined, enable MQTT client code, see: https://github.com/toblum/McLighting/wiki/MQTT-API
|
||||
#define ENABLE_HOMEASSISTANT // If defined, enable Homeassistant integration, ENABLE_MQTT or ENABLE_AMQTT must be active
|
||||
#define ENABLE_BUTTON // If defined, enable button handling code, see: https://github.com/toblum/McLighting/wiki/Button-control
|
||||
//#define ENABLE_BUTTON // If defined, enable button handling code, see: https://github.com/toblum/McLighting/wiki/Button-control
|
||||
//#define MQTT_HOME_ASSISTANT_SUPPORT // If defined, use AMQTT and select Tools -> IwIP Variant -> Higher Bandwidth
|
||||
#define ENABLE_LEGACY_ANIMATIONS // Dont disbale this for now
|
||||
#define ENABLE_E131 // E1.31 implementation
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[platformio]
|
||||
src_dir = ./Arduino/McLighting/
|
||||
data_dir = ./Arduino/McLighting/data/
|
||||
env_default = nodemcuv2
|
||||
env_default = esp_wroom_02
|
||||
description = The ESP8266 based multi-client lighting gadget
|
||||
|
||||
[common]
|
||||
|
@ -63,6 +63,20 @@ upload_resetmethod = ${common.upload_resetmethod}
|
|||
lib_deps = ${common.lib_deps}
|
||||
; targets = ${common.targets_um}
|
||||
|
||||
|
||||
[env:esp_wroom_02]
|
||||
board = esp_wroom_02
|
||||
framework = ${common.framework}
|
||||
platform = ${common.platform}
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
-Wl,-Teagle.flash.2m512.ld ;;;; Required for core > v2.5.0 or staging version
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
upload_speed = ${common.upload_speed}
|
||||
upload_resetmethod = ${common.upload_resetmethod}
|
||||
lib_deps = ${common.lib_deps}
|
||||
; targets = ${common.targets_um}
|
||||
|
||||
[env:esp01_1m]
|
||||
board = esp01_1m
|
||||
framework = ${common.framework}
|
||||
|
|
Loading…
Reference in a new issue