You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
esp8266 #error "XTENSA-architecture microcontrollers are not supported" #335
I'm using Arduino 1.6.9 w/ ESP8266 2.3.0 and I'm having problems getting the blink sketch to work. Currently testing on Generic ESP8266 and Node MCU 1.0.
code:
#define FASTLED_ESP8266_RAW_PIN_ORDER
#include "FastLED.h"
#define NUM_LEDS 1
#define DATA_PIN 5
// Define the array of leds
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
}
void loop() {
// Turn the LED on, then pause
leds[0] = CRGB::Red;
FastLED.show();
delay(500);
// Now turn the LED off, then pause
leds[0] = CRGB::Black;
FastLED.show();
delay(500);
}
error:
In file included from /Documents/Arduino/libraries/FastLED/FastLED.h:34:0,
from /var/folders/_m/cd57zxy15lx9y5wjwc9_9pyr0000gn/T/arduino_modified_sketch_894595/Blink.ino:2:
/Documents/Arduino/libraries/FastLED/led_sysdefs.h:22:2: error: #error "XTENSA-architecture microcontrollers are not supported."
#error "XTENSA-architecture microcontrollers are not supported."
^
In file included from /Documents/Arduino/libraries/FastLED/FastLED.h:42:0,
from /var/folders/_m/cd57zxy15lx9y5wjwc9_9pyr0000gn/T/arduino_modified_sketch_894595/Blink.ino:2:
/Documents/Arduino/libraries/FastLED/platforms.h:22:2: error: #error "XTENSA-architecture microcontrollers are not supported"
#error "XTENSA-architecture microcontrollers are not supported"
^
exit status 1
Error compiling for board Generic ESP8266 Module.
Activity
focalintent commentedon Aug 7, 2016
You need to grab the latest code from github - you are using an old version of the library