Open Greg2002 opened 5 years ago
Arduino: 1.8.7 (Windows 10), Плата:"Arduino Nano, ATmega328P"
effects:163:14: error: variable or field 'fillAll' declared void
void fillAll(CRGB color) {
^
effects:163:14: error: 'CRGB' was not declared in this scope
In file included from \AlexGyver\GyverLight-master\firmware\gyverLight_v1.0\gyverLight_v1.0.ino:37:0:
\libraries\arduino_338618/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.001
\AlexGyver\GyverLight-master\firmware\gyverLight_v1.0\gyverLight_v1.0.ino: In function 'void loop()':
gyverLight_v1.0:92:30: error: 'fillAll' was not declared in this scope
fillAll(CRGB::White); ^
\AlexGyver\GyverLight-master\firmware\gyverLight_v1.0\effects.ino: In function 'void colors()':
effects:60:30: error: 'fillAll' was not declared in this scope
fillAll(CHSV(hue, 255, 255));
exit status 1 variable or field 'fillAll' declared void
Причину ошибки найти не удалось, но в версии 1.1 она исправлена. Но причина до сих пор неизвестна
Arduino: 1.8.7 (Windows 10), Плата:"Arduino Nano, ATmega328P"
effects:163:14: error: variable or field 'fillAll' declared void
void fillAll(CRGB color) {
effects:163:14: error: 'CRGB' was not declared in this scope
In file included from \AlexGyver\GyverLight-master\firmware\gyverLight_v1.0\gyverLight_v1.0.ino:37:0:
\libraries\arduino_338618/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.001
pragma message "FastLED version 3.002.001"
\AlexGyver\GyverLight-master\firmware\gyverLight_v1.0\gyverLight_v1.0.ino: In function 'void loop()':
gyverLight_v1.0:92:30: error: 'fillAll' was not declared in this scope
\AlexGyver\GyverLight-master\firmware\gyverLight_v1.0\effects.ino: In function 'void colors()':
effects:60:30: error: 'fillAll' was not declared in this scope
fillAll(CHSV(hue, 255, 255));
exit status 1 variable or field 'fillAll' declared void