Files
fs
include
libs
src
unittest
frozen
mongoose
testdata
testconfig0.json
testconfig1.json
.gitignore
Makefile
main.c
mgos.h
mgos_config.c
mgos_config.h
mgos_gpio.c
mgos_gpio.h
mgos_mock.c
mgos_mock.h
mgos_mqtt.c
mgos_mqtt.h
mgos_net.h
mgos_ro_vars.h
test.c
test.h
test_buttons.c
test_timespec.c
.gitignore
README.md
mos.yml
lightswitch/unittest/testdata/testconfig1.json
Pim van Pelt 118eb14447 Rewrite statusled implementation.
- Read it now from app.config JSON file.
- Allow for inverted status leds (Sonoff et al)
- Clean up unit tests.
2018-01-24 13:33:13 +01:00

10 lines
209 B
JSON

{
"name": "3 Gang, No LEDs",
"statusled": -1,
"channels": [
{ "led": -1, "relay": 15, "button": 5 },
{ "led": -1, "relay": 4, "button": 3 },
{ "led": -1, "relay": 13, "button": 12 }
]
}