Browse Source

Add config placeholder for Itead's 1CH inching module

fastled
Xose Pérez 8 years ago
parent
commit
7fe281f379
2 changed files with 18 additions and 0 deletions
  1. +9
    -0
      code/platformio.ini
  2. +9
    -0
      code/src/config/hardware.h

+ 9
- 0
code/platformio.ini View File

@ -190,6 +190,15 @@ upload_speed = 115200
upload_port = "192.168.4.1"
upload_flags = --auth=fibonacci --port 8266
[env:1ch-inching-debug]
platform = espressif8266
framework = arduino
board = esp01_1m
lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore}
extra_script = pio_hooks.py
build_flags = -g -Wl,-Tesp8266.flash.1m128.ld -DDEBUG_PORT=Serial -DITEAD_1CH_INCHING
[env:electrodragon-debug]
platform = espressif8266
framework = arduino


+ 9
- 0
code/src/config/hardware.h View File

@ -113,6 +113,15 @@
#define LED_PIN 13
#define LED_PIN_INVERSE 0
#elif defined(ITEAD_1CH_INCHING)
#define MANUFACTURER "ITEAD"
#define DEVICE "1CH_INCHING"
#define BUTTON1_PIN 0
#define RELAY1_PIN 12
#define LED_PIN 13
#define LED_PIN_INVERSE 0
// -----------------------------------------------------------------------------
// Electrodragon boards
// -----------------------------------------------------------------------------


Loading…
Cancel
Save