No idea what's wrong, anyone had this error before? Arduino: 1.6.4 (Windows 8.1), Board:

fastled-support
gplus
(Kyle Halvorson) #1

No idea what’s wrong, anyone had this error before?

Arduino: 1.6.4 (Windows 8.1), Board: “Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from C:\Users\Kyle\Documents\Arduino\libraries\FastLED/platforms/avr/fastled_avr.h:6:0,
from C:\Users\Kyle\Documents\Arduino\libraries\FastLED/platforms.h:14,
from C:\Users\Kyle\Documents\Arduino\libraries\FastLED/FastLED.h:42,
from _1976_Dodge_Power_Wagon_Control_System.ino:6:
C:\Users\Kyle\Documents\Arduino\libraries\FastLED/platforms/avr/fastspi_avr.h: In member function ‘void AVRUSART0SPIOutput<_DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER>::init()’:
C:\Users\Kyle\Documents\Arduino\libraries\FastLED/platforms/avr/fastspi_avr.h:181:42: error: ‘UCPHA0’ was not declared in this scope
UCSR0C = (1<<UMSEL01)|(1<<UMSEL00)|(0<<UCPHA0)|(0<<UCPOL0);
^
Error compiling.

(Daniel Garcia) #2

Grab FastLED 3.1 branch, fixed over there.

(Kyle Halvorson) #3

Perfect, thank you!!

(Kyle Halvorson) #4

It works now.