Comments (6)
Hi,
can you paste here the error lines? Try to downgrade WiFi Manager library, there are known issues with recent versions.
from lights.
Hi.
Generic_WS2812_Strip:53:13: error: 'NeobgrFeature' was not declared in this scope
NeoPixelBus<NeobgrFeature, Neo800KbpsMethod>* strip = NULL;
^
Generic_WS2812_Strip:53:44: error: template argument 1 is invalid
NeoPixelBus<NeobgrFeature, Neo800KbpsMethod>* strip = NULL;
^
Generic_WS2812_Strip:53:53: error: invalid type in declaration before '=' token
NeoPixelBus<NeobgrFeature, Neo800KbpsMethod>* strip = NULL;
^
C:\Users\Czerniki\Desktop\Lights-master\ESP8266\Generic_WS2812_Strip\Generic_WS2812_Strip.ino: In function 'void infoLight(RgbColor)':
Generic_WS2812_Strip:219:12: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(i, color);
^
Generic_WS2812_Strip:220:12: error: request for member 'Show' in '* strip', which is of non-class type 'int'
strip->Show();
^
Generic_WS2812_Strip:222:12: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(i, black);
^
Generic_WS2812_Strip:223:12: error: request for member 'Show' in '* strip', which is of non-class type 'int'
strip->Show();
^
C:\Users\Czerniki\Desktop\Lights-master\ESP8266\Generic_WS2812_Strip\Generic_WS2812_Strip.ino: In function 'void lightEngine()':
Generic_WS2812_Strip:318:24: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel, convFloat(lights[light].currentColors));
^
Generic_WS2812_Strip:320:24: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel, blending(lights[0].currentColors, lights[1].currentColors, pixel + 1 - (dividedLightsArray[0] - transitionLeds / 2 ))); // calculate the transition led color
^
Generic_WS2812_Strip:339:24: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel + pixelSum + transitionLeds, blending( lights[light - 1].currentColors, lights[light].currentColors, pixel + 1));
^
Generic_WS2812_Strip:343:24: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel + pixelSum + transitionLeds, blending( lights[light].currentColors, lights[light + 1].currentColors, pixel + transitionLeds / 2 - dividedLightsArray[light]));
^
Generic_WS2812_Strip:346:24: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel + pixelSum + transitionLeds, convFloat(lights[light].currentColors));
^
Generic_WS2812_Strip:352:18: error: request for member 'ClearTo' in '* strip', which is of non-class type 'int'
strip->ClearTo(convFloat(lights[light].currentColors), 0, pixelCount - 1);
^
Generic_WS2812_Strip:354:16: error: request for member 'Show' in '* strip', which is of non-class type 'int'
strip->Show(); //show what was calculated previously
^
Generic_WS2812_Strip:368:24: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel, convFloat(lights[light].currentColors));
^
Generic_WS2812_Strip:370:24: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel, blending(lights[0].currentColors, lights[1].currentColors, pixel + 1 - (dividedLightsArray[0] - transitionLeds / 2 )));
^
Generic_WS2812_Strip:389:24: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel + pixelSum + transitionLeds, blending( lights[light - 1].currentColors, lights[light].currentColors, pixel + 1));
^
Generic_WS2812_Strip:393:24: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel + pixelSum + transitionLeds, blending( lights[light].currentColors, lights[light + 1].currentColors, pixel + transitionLeds / 2 - dividedLightsArray[light]));
^
Generic_WS2812_Strip:396:24: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel + pixelSum + transitionLeds, convFloat(lights[light].currentColors));
^
Generic_WS2812_Strip:402:18: error: request for member 'ClearTo' in '* strip', which is of non-class type 'int'
strip->ClearTo(convFloat(lights[light].currentColors), 0, pixelCount - 1);
^
Generic_WS2812_Strip:404:16: error: request for member 'Show' in '* strip', which is of non-class type 'int'
strip->Show();
^
C:\Users\Czerniki\Desktop\Lights-master\ESP8266\Generic_WS2812_Strip\Generic_WS2812_Strip.ino: In function 'void ChangeNeoPixels(uint16_t)':
Generic_WS2812_Strip:613:27: error: 'NeobgrFeature' was not declared in this scope
strip = new NeoPixelBus<NeobgrFeature, Neo800KbpsMethod>(newCount); // and recreate with new count
^
Generic_WS2812_Strip:613:58: error: template argument 1 is invalid
strip = new NeoPixelBus<NeobgrFeature, Neo800KbpsMethod>(newCount); // and recreate with new count
^
Generic_WS2812_Strip:615:10: error: request for member 'Begin' in '* strip', which is of non-class type 'int'
strip->Begin();
^
C:\Users\Czerniki\Desktop\Lights-master\ESP8266\Generic_WS2812_Strip\Generic_WS2812_Strip.ino: In function 'void entertainment()':
Generic_WS2812_Strip:928:22: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel, convFloat(lights[light].currentColors));
^
Generic_WS2812_Strip:930:22: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel, blendingEntert(lights[0].currentColors, lights[1].currentColors, pixel + 1 - (dividedLightsArray[0] - transitionLeds / 2 )));
^
Generic_WS2812_Strip:948:22: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel + pixelSum + transitionLeds, blendingEntert( lights[light - 1].currentColors, lights[light].currentColors, pixel + 1));
^
Generic_WS2812_Strip:952:22: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel + pixelSum + transitionLeds, blendingEntert( lights[light].currentColors, lights[light + 1].currentColors, pixel + transitionLeds / 2 - dividedLightsArray[light]));
^
Generic_WS2812_Strip:955:22: error: request for member 'SetPixelColor' in '* strip', which is of non-class type 'int'
strip->SetPixelColor(pixel + pixelSum + transitionLeds, convFloat(lights[light].currentColors));
^
Generic_WS2812_Strip:961:16: error: request for member 'ClearTo' in '* strip', which is of non-class type 'int'
strip->ClearTo(convFloat(lights[light].currentColors), 0, pixelCount - 1);
^
Generic_WS2812_Strip:964:12: error: request for member 'Show' in '* strip', which is of non-class type 'int'
strip->Show();
from lights.
When compiling with NeoBrgFuture, the compiler reports no errors but the green and red colors are inverted on the palette.
from lights.
Can you show the libraries versions you are using. I manage to compile the code with all new libraries. Do you have neopixelbus by Makuna library installed?
from lights.
from lights.
This was a naming issue in WiFI Manager library that was fixed in recent releases.
from lights.
Related Issues (20)
- [beta] Reduce or disable logging to syslog HOT 4
- Arduino nano 33 IoT support HOT 6
- sk6812 gradient HOT 7
- Use SK6812 white LED for better color reproduction HOT 1
- What Type is Yeelight LED strip? HOT 2
- Change LED Pin HOT 2
- Unable to download and flash via Web HOT 6
- Issues changing individual lights on WS2812 gradient strip via lights API HOT 6
- Web flash tool unable to download firmware HOT 2
- Feature Request: New Sketch: Gradient & Gradient TV RGBCCT HOT 8
- Samsung TV Hue Sync App not working HOT 2
- WS2812 + MOSFET HOT 8
- Hue Gradient led strip type HOT 8
- Self-compiled sketches == reset loop HOT 6
- ESP32/ESP-C3_Controller_Board BOM - CPL HOT 2
- Arduino IDE / Flashing config help needed, just getting resets right now. HOT 29
- Connect to WiFi with username and password HOT 1
- Change Color Order HOT 3
- Calibrating an ESP8266 Bulb HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lights.