Feather Fire! I’m trying to load @Mark_Kriegsman 's Fire2012 sketch onto the Adafruit Feather M0 and am getting the error below. Not sure if this is a question for Mark or for @Phillip_Burgess – is it the M0 board support that doesn’t like the random() call? Or is this a FastLED-doesn’t-support-the-board issue?
Fire2012WithPalette.ino: In function ‘void loop()’:
Fire2012WithPalette:68: error: no matching function for call to ‘random()’
Fire2012WithPalette.ino:68:32: note: candidates are:
In file included from /Users/erin/Library/Arduino15/packages/adafruit/hardware/samd/1.0.6/cores/arduino/Arduino.h:72:0,
from /Users/erin/Documents/Arduino/libraries/FastLED/led_sysdefs.h:38,
from /Users/erin/Documents/Arduino/libraries/FastLED/FastLED.h:36,
from Fire2012WithPalette.ino:1:
/Users/erin/Library/Arduino15/packages/adafruit/hardware/samd/1.0.6/cores/arduino/WMath.h:22:13: note: long int random(long int)
extern long random( long ) ;
^
/Users/erin/Library/Arduino15/packages/adafruit/hardware/samd/1.0.6/cores/arduino/WMath.h:22:13: note: candidate expects 1 argument, 0 provided
/Users/erin/Library/Arduino15/packages/adafruit/hardware/samd/1.0.6/cores/arduino/WMath.h:23:13: note: long int random(long int, long int)
extern long random( long, long ) ;
^
/Users/erin/Library/Arduino15/packages/adafruit/hardware/samd/1.0.6/cores/arduino/WMath.h:23:13: note: candidate expects 2 arguments, 0 provided
no matching function for call to ‘random()’