I am using an ATMega328PB for the chipset, but every time i want to upload the compiler fails.
This is the ATmega328PB board library for the Arduino:
This is the errors that pop up:
C:\Users\jamal\Downloads\Documents\Arduino\libraries\FastLED/fastpin.h: In instantiation of ‘class FastPin<5u>’:
C:\Users\jamal\Downloads\Documents\Arduino\libraries\FastLED/platforms/avr/clockless_trinket.h:96:49: required from ‘class ClocklessController<5u, 3, 4, 3, (EOrder)66u, 0, false, 10>’
C:\Users\jamal\Downloads\Documents\Arduino\libraries\FastLED/chipsets.h:385:7: required from ‘class WS2811Controller800Khz<5u, (EOrder)66u>’
C:\Users\jamal\Downloads\Documents\Arduino\libraries\FastLED/FastLED.h:107:52: required from ‘class WS2811<5u, (EOrder)66u>’
C:\Users\jamal\Downloads\Documents\Arduino\libraries\FastLED/FastLED.h:294:39: required from ‘static CLEDController& CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = WS2811; unsigned char DATA_PIN = 5u; EOrder RGB_ORDER = (EOrder)66u]’
C:\Users\jamal\AppData\Local\Temp\arduino_modified_sketch_439345\DemoReel100.ino:32:64: required from here
C:\Users\jamal\Downloads\Documents\Arduino\libraries\FastLED/fastpin.h:206:2: error: static assertion failed: Invalid pin specified
static_assert(validpin(), “Invalid pin specified”);