working with configuration and LED strip

This commit is contained in:
Dirk Jahnke 2018-01-22 20:59:32 +01:00
parent 6ec2d66fb0
commit 6d61ac8f66
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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;