“
Arduino: 1.8.5 (Mac OS X), Board:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
sketch________1__ledvoor:972: error: variable or field 'setupStripedPalette' declared void
void setupStripedPalette( CRGB A, CRGB AB, CRGB B, CRGB BA) {
^
sketch________1__ledvoor:972: error: 'CRGB' was not declared in this scope
sketch________1__ledvoor:972: error: 'CRGB' was not declared in this scope
void setupStripedPalette( CRGB A, CRGB AB, CRGB B, CRGB BA) {
^
sketch________1__ledvoor:972: error: 'CRGB' was not declared in this scope
void setupStripedPalette( CRGB A, CRGB AB, CRGB B, CRGB BA) {
^
sketch________1__ledvoor:972: error: 'CRGB' was not declared in this scope
void setupStripedPalette( CRGB A, CRGB AB, CRGB B, CRGB BA) {
^
sketch________1__ledvoor:1031: error: variable or field 'addGlitter' declared void
void addGlitter( fract8 chanceOfGlitter)
^
sketch________1__ledvoor:1031: error: 'fract8' was not declared in this scope
sketch________1__ledvoor:1041: error: variable or field 'addGlitterColor' declared void
void addGlitterColor( fract8 chanceOfGlitter, int red, int green, int blue)
^
sketch________1__ledvoor:1041: error: 'fract8' was not declared in this scope
sketch________1__ledvoor:1041: error: expected primary-expression before 'int'
void addGlitterColor( fract8 chanceOfGlitter, int red, int green, int blue)
^
sketch________1__ledvoor:1041: error: expected primary-expression before 'int'
void addGlitterColor( fract8 chanceOfGlitter, int red, int green, int blue)
^
sketch________1__ledvoor:1041: error: expected primary-expression before 'int'
void addGlitterColor( fract8 chanceOfGlitter, int red, int green, int blue)
^
In file included from /Users/luca/Documents/Arduino/sketch________1__ledvoor/sketch________1__ledvoor.ino:36:0:
/Users/luca/Documents/Arduino/libraries/FastLED/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.007
# pragma message "FastLED version 3.001.007"
^
In file included from /Users/luca/Documents/Arduino/libraries/FastLED/FastLED.h:68:0,
from /Users/luca/Documents/Arduino/sketch________1__ledvoor/sketch________1__ledvoor.ino:36:
/Users/luca/Documents/Arduino/libraries/FastLED/fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
^
/Users/luca/Documents/Arduino/sketch________1__ledvoor/sketch________1__ledvoor.ino: In function 'void setup()':
sketch________1__ledvoor:190: error: redefinition of 'void setup()'
void setup() {
^
sketch________1__ledvoor:1: error: 'void setup()' previously defined here
void setup() {
^
sketch________1__ledvoor:194: error: 'setupStripedPalette' was not declared in this scope
setupStripedPalette( CRGB::Red, CRGB::Red, CRGB::White, CRGB::White); //for CANDY CANE
^
/Users/luca/Documents/Arduino/sketch________1__ledvoor/sketch________1__ledvoor.ino: In function 'bool processJson(char*)':
sketch________1__ledvoor:319: error: 'StaticJsonBuffer' was not declared in this scope
StaticJsonBuffer<BUFFER_SIZE> jsonBuffer;
^
/Users/luca/Documents/Arduino/sketch________1__ledvoor/sketch________1__ledvoor.ino:319:3: note: suggested alternative:
In file included from /Users/luca/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from /Users/luca/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:10,
from /Users/luca/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
from /Users/luca/Documents/Arduino/sketch________1__ledvoor/sketch________1__ledvoor.ino:32:
/Users/luca/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
sketch________1__ledvoor:319: error: 'jsonBuffer' was not declared in this scope
StaticJsonBuffer<BUFFER_SIZE> jsonBuffer;
^
sketch________1__ledvoor:323: error: 'class ArduinoJson::JsonObject' has no member named 'success'
if (!root.success()) {
^
sketch________1__ledvoor:398: error: 'MILLION' was not declared in this scope
unsigned int kelvin = MILLION / color_temp;
^
/Users/luca/Documents/Arduino/sketch________1__ledvoor/sketch________1__ledvoor.ino: In function 'void sendState()':
sketch________1__ledvoor:430: error: 'StaticJsonBuffer' was not declared in this scope
StaticJsonBuffer<BUFFER_SIZE> jsonBuffer;
^
/Users/luca/Documents/Arduino/sketch________1__ledvoor/sketch________1__ledvoor.ino:430:3: note: suggested alternative:
In file included from /Users/luca/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from /Users/luca/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:10,
from /Users/luca/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
from /Users/luca/Documents/Arduino/sketch________1__ledvoor/sketch________1__ledvoor.ino:32:
/Users/luca/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
sketch________1__ledvoor:430: error: 'jsonBuffer' was not declared in this scope
StaticJsonBuffer<BUFFER_SIZE> jsonBuffer;
^
sketch________1__ledvoor:435: error: invalid initialization of non-const reference of type 'ArduinoJson::JsonObject&' from an rvalue of type 'ArduinoJson::JsonObject'
JsonObject& color = root.createNestedObject("color");
^
sketch________1__ledvoor:444: error: 'class ArduinoJson::JsonObject' has no member named 'measureLength'
char buffer[root.measureLength() + 1];
^
sketch________1__ledvoor:445: error: 'class ArduinoJson::JsonObject' has no member named 'printTo'
root.printTo(buffer, sizeof(buffer));
^
sketch________1__ledvoor:445: error: 'buffer' was not declared in this scope
root.printTo(buffer, sizeof(buffer));
^
/Users/luca/Documents/Arduino/sketch________1__ledvoor/sketch________1__ledvoor.ino: In function 'void loop()':
sketch________1__ledvoor:497: error: redefinition of 'void loop()'
void loop() {
^
sketch________1__ledvoor:6: error: 'void loop()' previously defined here
void loop() {
^
sketch________1__ledvoor:619: error: 'addGlitterColor' was not declared in this scope
addGlitterColor(80, realRed, realGreen, realBlue);
^
sketch________1__ledvoor:729: error: 'addGlitter' was not declared in this scope
addGlitter(80);
^
exit status 1
variable or field 'setupStripedPalette' declared void
Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.
“
Deze foutmelding krijg ik als ik de bruh led strip methode wil toevoegen.
Wie kan mij helpen?!?!