проблема с библой fastled

valera678
Offline
Зарегистрирован: 04.11.2016

Народ ,подскажите где туплю. библиотека https://github.com/FastLED/FastLED .пример Fire2012WithPalette ..ошибка 

 
 
 
 
 
 




Fire2012WithPalette:13: error: 'CRGB' does not name a type
Fire2012WithPalette:42: error: 'CRGBPalette16' does not name a type
Fire2012WithPalette.ino: In function 'void setup()':
Fire2012WithPalette:46: error: 'FastLED' was not declared in this scope
Fire2012WithPalette:46: error: 'WS2811' was not declared in this scope
Fire2012WithPalette:46: error: 'GRB' was not declared in this scope
Fire2012WithPalette:46: error: 'leds' was not declared in this scope
Fire2012WithPalette:46: error: 'TypicalLEDStrip' was not declared in this scope
Fire2012WithPalette:51: error: 'gPal' was not declared in this scope
Fire2012WithPalette:51: error: 'HeatColors_p' was not declared in this scope
Fire2012WithPalette.ino: In function 'void loop()':
Fire2012WithPalette:68: error: 'random16_add_entropy' was not declared in this scope
Fire2012WithPalette:84: error: 'FastLED' was not declared in this scope
Fire2012WithPalette.ino: In function 'void Fire2012WithPalette()':
Fire2012WithPalette:135: error: 'random8' was not declared in this scope
Fire2012WithPalette:135: error: 'qsub8' was not declared in this scope
Fire2012WithPalette:144: error: 'random8' was not declared in this scope
Fire2012WithPalette:146: error: 'qadd8' was not declared in this scope
Fire2012WithPalette:153: error: 'scale8' was not declared in this scope
Fire2012WithPalette:154: error: 'CRGB' was not declared in this scope
Fire2012WithPalette:154: error: expected `;' before 'color'
Fire2012WithPalette:161: error: 'leds' was not declared in this scope
Fire2012WithPalette:161: error: 'color' was not declared in this scope

по всем остальным примерам те же яйца

 
b707
Offline
Зарегистрирован: 26.05.2017

скетч целиком выкладывайте, по огрызкам никто разбираться не станет

xDriver
xDriver аватар
Offline
Зарегистрирован: 14.08.2015

Он же пример пытается компильнуть, зачем его выкладывать сюда.

как библиотеку устанавливали ? 

 

valera678
Offline
Зарегистрирован: 04.11.2016

библеотека там где и положено Arduino/libraries/

valera678
Offline
Зарегистрирован: 04.11.2016

ide 1.0.6 пользуюсь... но и более свежие не компилируют

xDriver
xDriver аватар
Offline
Зарегистрирован: 14.08.2015

IDE 1.8.4 скачал FastLED-master в libraries, компильнулось без ошибок.

valera678
Offline
Зарегистрирован: 04.11.2016

попробую

 

valera678
Offline
Зарегистрирован: 04.11.2016

Exit status 1 error compiling for board arduino/genuino uno

valera678
Offline
Зарегистрирован: 04.11.2016

На иде 1.8.5