sonyhome / FAB_LED

Fast Arduino Bitbang LED library supports programmable LEDs (WS2812B, APA102...), color palettes for Arduino AVR
GNU General Public License v2.0
125 stars 17 forks source link

Example Code produces lots of compiling errors #15

Closed ghost closed 7 years ago

ghost commented 7 years ago

I tried to compile and upload the raw24Bit example but it just threw errors at me.

Here are the error messages:

`In file included from test.ino:1:0: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:348:2: error: #error "Unsupported Architecture"

error "Unsupported Architecture"

^ In file included from test.ino:1:0: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:69:23: error: static data member ‘::type’ in unnamed class [-fpermissive] static const uint8_t type = PT_RGB; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:68:16: note: unnamed class defined here typedef struct { ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:77:23: error: static data member ‘::type’ in unnamed class [-fpermissive] static const uint8_t type = PT_GRB; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:76:16: note: unnamed class defined here typedef struct { ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:84:23: error: static data member ‘::type’ in unnamed class [-fpermissive] static const uint8_t type = PT_BGR; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:83:16: note: unnamed class defined here typedef struct { ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:92:23: error: static data member ‘::type’ in unnamed class [-fpermissive] static const uint8_t type = PT_RGB | PT_XXXW; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:91:16: note: unnamed class defined here typedef struct { ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:101:23: error: static data member ‘::type’ in unnamed class [-fpermissive] static const uint8_t type = PT_GRB | PT_XXXW; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:100:16: note: unnamed class defined here typedef struct { ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:110:23: error: static data member ‘::type’ in unnamed class [-fpermissive] static const uint8_t type = PT_BGR | PT_BXXX; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:109:16: note: unnamed class defined here typedef struct { ^ In file included from test.ino:1:0: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In constructor ‘avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::avrBitbangLedStrip()’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:654:41: error: there are no arguments to ‘SET_DDR_HIGH’ that depend on a template parameter, so a declaration of ‘SET_DDR_HIGH’ must be available [-fpermissive] SET_DDR_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:654:41: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:655:42: error: there are no arguments to ‘SET_DDR_HIGH’ that depend on a template parameter, so a declaration of ‘SET_DDR_HIGH’ must be available [-fpermissive] SET_DDR_HIGH(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:656:41: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:657:42: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:660:28: error: there are no arguments to ‘FAB_DDR’ that depend on a template parameter, so a declaration of ‘FAB_DDR’ must be available [-fpermissive] FAB_DDR(dataPortId, 0xFF); // all pins out ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:661:29: error: there are no arguments to ‘FAB_PORT’ that depend on a template parameter, so a declaration of ‘FAB_PORT’ must be available [-fpermissive] FAB_PORT(dataPortId, 0x00); // all pins low ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:665:40: error: there are no arguments to ‘SET_DDR_HIGH’ that depend on a template parameter, so a declaration of ‘SET_DDR_HIGH’ must be available [-fpermissive] SET_DDR_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:666:42: error: there are no arguments to ‘SET_DDR_HIGH’ that depend on a template parameter, so a declaration of ‘SET_DDR_HIGH’ must be available [-fpermissive] SET_DDR_HIGH(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:672:40: error: there are no arguments to ‘SET_DDR_HIGH’ that depend on a template parameter, so a declaration of ‘SET_DDR_HIGH’ must be available [-fpermissive] SET_DDR_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:673:40: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::spiSoftwareSendFrame(uint16_t, bool)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:830:40: error: there are no arguments to ‘SET_PORT_HIGH’ that depend on a template parameter, so a declaration of ‘SET_PORT_HIGH’ must be available [-fpermissive] SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:832:39: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:836:41: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:837:42: error: there are no arguments to ‘SET_PORT_HIGH’ that depend on a template parameter, so a declaration of ‘SET_PORT_HIGH’ must be available [-fpermissive] SET_PORT_HIGH(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::spiSoftwareSendBytes(uint16_t, const uint8_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:856:42: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:858:42: error: there are no arguments to ‘SET_PORT_HIGH’ that depend on a template parameter, so a declaration of ‘SET_PORT_HIGH’ must be available [-fpermissive] SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:860:41: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:862:43: error: there are no arguments to ‘SET_PORT_HIGH’ that depend on a template parameter, so a declaration of ‘SET_PORT_HIGH’ must be available [-fpermissive] SET_PORT_HIGH(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::twoPortSoftwareSendBytes(uint16_t, const uint8_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:901:58: error: there are no arguments to ‘SET_PORT_HIGH’ that depend on a template parameter, so a declaration of ‘SET_PORT_HIGH’ must be available [-fpermissive] if (isbitDhigh) SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:902:60: error: there are no arguments to ‘SET_PORT_HIGH’ that depend on a template parameter, so a declaration of ‘SET_PORT_HIGH’ must be available [-fpermissive] if (isbitChigh) SET_PORT_HIGH(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:905:43: error: there are no arguments to ‘SET_PORT_HIGH’ that depend on a template parameter, so a declaration of ‘SET_PORT_HIGH’ must be available [-fpermissive] SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:906:27: error: ‘sbiCycles’ was not declared in this scope DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:906:36: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:907:42: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:910:45: error: there are no arguments to ‘SET_PORT_HIGH’ that depend on a template parameter, so a declaration of ‘SET_PORT_HIGH’ must be available [-fpermissive] SET_PORT_HIGH(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:911:27: error: ‘sbiCycles’ was not declared in this scope DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:911:36: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:912:44: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:914:28: error: ‘sbiCycles’ was not declared in this scope DELAY_CYCLES(high1 - 2sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:914:37: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES(high1 - 2sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:915:41: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:916:43: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:917:27: error: ‘cbiCycles’ was not declared in this scope DELAY_CYCLES(low1 - 2cbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:917:36: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES(low1 - 2cbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::eightPortSoftwareSendBytes(uint16_t, const uint8_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1120:31: error: there are no arguments to ‘FAB_PORT’ that depend on a template parameter, so a declaration of ‘FAB_PORT’ must be available [-fpermissive] FAB_PORT(dataPortId, onMask); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1121:25: error: ‘sbiCycles’ was not declared in this scope DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1121:34: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1123:32: error: there are no arguments to ‘FAB_PORT’ that depend on a template parameter, so a declaration of ‘FAB_PORT’ must be available [-fpermissive] FAB_PORT(dataPortId, bitmask); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1124:43: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES( high1 - high0 + sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1126:29: error: there are no arguments to ‘FAB_PORT’ that depend on a template parameter, so a declaration of ‘FAB_PORT’ must be available [-fpermissive] FAB_PORT(dataPortId, 0x00); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1128:24: error: ‘cbiCycles’ was not declared in this scope DELAY_CYCLES(low0 - cbiCycles - 20); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1128:38: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES(low0 - cbiCycles - 20); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::onePortSoftwareSendBytes(uint16_t, const uint8_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1148:42: error: there are no arguments to ‘SET_PORT_HIGH’ that depend on a template parameter, so a declaration of ‘SET_PORT_HIGH’ must be available [-fpermissive] SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1150:26: error: ‘sbiCycles’ was not declared in this scope DELAY_CYCLES(high1 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1150:35: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES(high1 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1152:41: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1154:25: error: ‘cbiCycles’ was not declared in this scope DELAY_CYCLES(low1 - cbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1154:34: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES(low1 - cbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1159:42: error: there are no arguments to ‘SET_PORT_HIGH’ that depend on a template parameter, so a declaration of ‘SET_PORT_HIGH’ must be available [-fpermissive] SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1161:26: error: ‘sbiCycles’ was not declared in this scope DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1161:35: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1163:41: error: there are no arguments to ‘SET_PORT_LOW’ that depend on a template parameter, so a declaration of ‘SET_PORT_LOW’ must be available [-fpermissive] SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1165:25: error: ‘cbiCycles’ was not declared in this scope DELAY_CYCLES(low0 - cbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1165:34: error: there are no arguments to ‘DELAY_CYCLES’ that depend on a template parameter, so a declaration of ‘DELAY_CYCLES’ must be available [-fpermissive] DELAY_CYCLES(low0 - cbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::clear(uint16_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1183:4: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1187:3: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::grey(uint16_t, uint8_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1197:2: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1201:2: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const uint8_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1211:3: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1213:2: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const rgbw)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1219:4: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; \ ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1262:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_4B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, sendWhiteMacro)

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1279:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_4B’ SEND_REMAPPED_PIXELS_4B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1259:3: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1262:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_4B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, sendWhiteMacro)

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1279:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_4B’ SEND_REMAPPED_PIXELS_4B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const grbw*)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1219:4: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; \ ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1262:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_4B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, sendWhiteMacro)

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1295:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_4B’ SEND_REMAPPED_PIXELS_4B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1259:3: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1262:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_4B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, sendWhiteMacro)

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1295:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_4B’ SEND_REMAPPED_PIXELS_4B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const hbgr*)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1219:4: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; \ ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1262:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_4B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, sendWhiteMacro)

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1311:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_4B’ SEND_REMAPPED_PIXELS_4B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1259:3: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1262:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_4B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, sendWhiteMacro)

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1311:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_4B’ SEND_REMAPPED_PIXELS_4B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const rgb*)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1219:4: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; \ ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1263:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_3B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, )

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1327:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_3B’ SEND_REMAPPED_PIXELS_3B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1259:3: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1263:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_3B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, )

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1327:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_3B’ SEND_REMAPPED_PIXELS_3B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const grb*)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1219:4: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; \ ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1263:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_3B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, )

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1340:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_3B’ SEND_REMAPPED_PIXELS_3B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1259:3: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1263:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_3B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, )

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1340:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_3B’ SEND_REMAPPED_PIXELS_3B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const bgr*)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1219:4: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; \ ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1263:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_3B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, )

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1353:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_3B’ SEND_REMAPPED_PIXELS_3B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1259:3: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1263:51: note: in expansion of macro ‘SEND_REMAPPED_PIXELS’

define SEND_REMAPPED_PIXELS_3B(numPixels, array) SEND_REMAPPED_PIXELS(numPixels, array, )

                                               ^

/home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1353:3: note: in expansion of macro ‘SEND_REMAPPED_PIXELS_3B’ SEND_REMAPPED_PIXELS_3B(numPixels, array); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const uint32_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1364:3: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1378:2: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const uint8_t, const uint8_t, const uint8_t, const uint8_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1406:3: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1431:2: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const uint8_t, const uint8_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1456:3: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1476:2: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const uint8_t, const T)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1500:3: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1520:2: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixelsRemap(uint16_t, const uint16_t, const pixelType)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1534:3: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1539:2: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixelsRemap(uint16_t, const uint16_t, const uint8_t, const pixelType)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1559:3: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1569:2: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixelsRemap(uint8_t, const uint8_t, const uint8_t, const pixelType)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1589:3: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1599:2: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In static member function ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(int, uint16_t)’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1618:3: error: ‘DISABLE_INTERRUPTS’ was not declared in this scope DISABLE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1629:2: error: ‘RESTORE_INTERRUPTS’ was not declared in this scope RESTORE_INTERRUPTS; ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In instantiation of ‘avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::avrBitbangLedStrip() [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u]’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1668:51: required from ‘ws2812b<dataPortId, dataPortBit>::ws2812b() [with avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortBit = 13u]’ test.ino:3:15: required from here /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:654:41: error: ‘SET_DDR_HIGH’ was not declared in this scope SET_DDR_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:655:42: error: ‘SET_DDR_HIGH’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] SET_DDR_HIGH(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:654:41: note: ‘SET_DDR_HIGH’ declared here, later in the translation unit SET_DDR_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:656:41: error: ‘SET_PORT_LOW’ was not declared in this scope SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:657:42: error: ‘SET_PORT_LOW’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] SET_PORT_LOW(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:656:41: note: ‘SET_PORT_LOW’ declared here, later in the translation unit SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:660:28: error: ‘FAB_DDR’ was not declared in this scope FAB_DDR(dataPortId, 0xFF); // all pins out ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:661:29: error: ‘FAB_PORT’ was not declared in this scope FAB_PORT(dataPortId, 0x00); // all pins low ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:665:40: error: ‘SET_DDR_HIGH’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] SET_DDR_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:654:41: note: ‘SET_DDR_HIGH’ declared here, later in the translation unit SET_DDR_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:666:42: error: ‘SET_DDR_HIGH’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] SET_DDR_HIGH(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:654:41: note: ‘SET_DDR_HIGH’ declared here, later in the translation unit SET_DDR_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:672:40: error: ‘SET_DDR_HIGH’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] SET_DDR_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:654:41: note: ‘SET_DDR_HIGH’ declared here, later in the translation unit SET_DDR_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:673:40: error: ‘SET_PORT_LOW’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:656:41: note: ‘SET_PORT_LOW’ declared here, later in the translation unit SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In instantiation of ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::onePortSoftwareSendBytes(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:809:41: required from ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendBytes(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1212:44: required from ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’ test.ino:21:39: required from here /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1148:42: error: ‘SET_PORT_HIGH’ was not declared in this scope SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1150:35: error: ‘DELAY_CYCLES’ was not declared in this scope DELAY_CYCLES(high1 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1152:41: error: ‘SET_PORT_LOW’ was not declared in this scope SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1154:34: error: ‘DELAY_CYCLES’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] DELAY_CYCLES(low1 - cbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1150:35: note: ‘DELAY_CYCLES’ declared here, later in the translation unit DELAY_CYCLES(high1 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1159:42: error: ‘SET_PORT_HIGH’ was not declared in this scope SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1161:35: error: ‘DELAY_CYCLES’ was not declared in this scope DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1163:41: error: ‘SET_PORT_LOW’ was not declared in this scope SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1165:34: error: ‘DELAY_CYCLES’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] DELAY_CYCLES(low0 - cbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1161:35: note: ‘DELAY_CYCLES’ declared here, later in the translation unit DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In instantiation of ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::twoPortSoftwareSendBytes(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:814:41: required from ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendBytes(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1212:44: required from ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’ test.ino:21:39: required from here /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:901:58: error: ‘SET_PORT_HIGH’ was not declared in this scope if (isbitDhigh) SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:902:60: error: ‘SET_PORT_HIGH’ was not declared in this scope if (isbitChigh) SET_PORT_HIGH(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:905:43: error: ‘SET_PORT_HIGH’ was not declared in this scope SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:906:36: error: ‘DELAY_CYCLES’ was not declared in this scope DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:907:42: error: ‘SET_PORT_LOW’ was not declared in this scope SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:910:45: error: ‘SET_PORT_HIGH’ was not declared in this scope SET_PORT_HIGH(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:911:36: error: ‘DELAY_CYCLES’ was not declared in this scope DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:912:44: error: ‘SET_PORT_LOW’ was not declared in this scope SET_PORT_LOW(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:914:37: error: ‘DELAY_CYCLES’ was not declared in this scope DELAY_CYCLES(high1 - 2sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:915:41: error: ‘SET_PORT_LOW’ was not declared in this scope SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:916:43: error: ‘SET_PORT_LOW’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] SET_PORT_LOW(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:915:41: note: ‘SET_PORT_LOW’ declared here, later in the translation unit SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:917:36: error: ‘DELAY_CYCLES’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] DELAY_CYCLES(low1 - 2cbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:914:37: note: ‘DELAY_CYCLES’ declared here, later in the translation unit DELAY_CYCLES(high1 - 2sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In instantiation of ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::eightPortSoftwareSendBytes(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:817:43: required from ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendBytes(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1212:44: required from ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’ test.ino:21:39: required from here /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1120:31: error: ‘FAB_PORT’ was not declared in this scope FAB_PORT(dataPortId, onMask); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1121:34: error: ‘DELAY_CYCLES’ was not declared in this scope DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1123:32: error: ‘FAB_PORT’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] FAB_PORT(dataPortId, bitmask); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1120:31: note: ‘FAB_PORT’ declared here, later in the translation unit FAB_PORT(dataPortId, onMask); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1124:43: error: ‘DELAY_CYCLES’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] DELAY_CYCLES( high1 - high0 + sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1121:34: note: ‘DELAY_CYCLES’ declared here, later in the translation unit DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1126:29: error: ‘FAB_PORT’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] FAB_PORT(dataPortId, 0x00); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1120:31: note: ‘FAB_PORT’ declared here, later in the translation unit FAB_PORT(dataPortId, onMask); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1128:38: error: ‘DELAY_CYCLES’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] DELAY_CYCLES(low0 - cbiCycles - 20); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1121:34: note: ‘DELAY_CYCLES’ declared here, later in the translation unit DELAY_CYCLES(high0 - sbiCycles); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h: In instantiation of ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::spiSoftwareSendBytes(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’: /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:820:37: required from ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendBytes(uint16_t, const uint8_t) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:1212:44: required from ‘static void avrBitbangLedStrip<high1, low1, high0, low0, minMsRefresh, dataPortId, dataPortPin, clockPortId, clockPortPin, colors, protocol>::sendPixels(uint16_t, const uint8_t*) [with int high1 = 8; int low1 = 2; int high0 = 2; int low0 = 4; long unsigned int minMsRefresh = 20ul; avrLedStripPort dataPortId = (avrLedStripPort)4u; unsigned char dataPortPin = 13u; avrLedStripPort clockPortId = (avrLedStripPort)1u; unsigned char clockPortPin = 0u; pixelFormat colors = (pixelFormat)2u; ledProtocol protocol = (ledProtocol)1u; uint16_t = unsigned int; uint8_t = unsigned char]’ test.ino:21:39: required from here /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:856:42: error: ‘SET_PORT_LOW’ was not declared in this scope SET_PORT_LOW(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:858:42: error: ‘SET_PORT_HIGH’ was not declared in this scope SET_PORT_HIGH(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:860:41: error: ‘SET_PORT_LOW’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] SET_PORT_LOW(dataPortId, dataPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:856:42: note: ‘SET_PORT_LOW’ declared here, later in the translation unit SET_PORT_LOW(clockPortId, clockPortPin); ^ /home/erik/sketchbook/libraries/FAB_LED/FAB_LED.h:862:43: error: ‘SET_PORT_HIGH’ was not declared in this scope SET_PORT_HIGH(clockPortId, clockPortPin); ^ `

sonyhome commented 7 years ago

It looks like your CPU is not supported.

I have not yet fully implemented ARM support, only AVR. I think APA102 + ARM should work but I need to do some testing.

Sorry :)

sonyhome commented 7 years ago

Note: enhanced how the library fails with invalid CPUs with clearer messages.