working with configuration and LED strip
This commit is contained in:
parent
6ec2d66fb0
commit
6d61ac8f66
2
mos.yml
2
mos.yml
|
@ -1,7 +1,7 @@
|
||||||
version: "0.8"
|
version: "0.8"
|
||||||
arch: esp8266
|
|
||||||
author: Dirk Jahnke
|
author: Dirk Jahnke
|
||||||
description: dlite - NeoPixel app to control model railroad house lightnings
|
description: dlite - NeoPixel app to control model railroad house lightnings
|
||||||
|
arch: esp8266
|
||||||
mongoose_os_version: ${mos_version}
|
mongoose_os_version: ${mos_version}
|
||||||
sources:
|
sources:
|
||||||
- src
|
- src
|
||||||
|
|
|
@ -51,7 +51,6 @@ void NeoPixel_clear() {
|
||||||
// strip.show();
|
// strip.show();
|
||||||
// ```
|
// ```
|
||||||
void NeoPixel_create(uint8_t pin, uint8_t numPixels, enum NeoPixel_ColorOrder order) {
|
void NeoPixel_create(uint8_t pin, uint8_t numPixels, enum NeoPixel_ColorOrder order) {
|
||||||
mgos_gpio_init();
|
|
||||||
NeoPixel_pin = pin;
|
NeoPixel_pin = pin;
|
||||||
NeoPixel_numPixels = numPixels;
|
NeoPixel_numPixels = numPixels;
|
||||||
NeoPixel_colorOrder = order;
|
NeoPixel_colorOrder = order;
|
||||||
|
|
Loading…
Reference in New Issue