Arduino: 1.8.3 (Mac OS X), Board: "Proffieboard, Serial, SDCARD (SPI), 80 MHz, Smallest Code"
In file included from sketch/config/mysaber_config.h:15:0,
from /Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:754:
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
};
^
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:50:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
sketch/config/common_presets.h:107:1: error: cannot convert 'Preset*' to 'BladeBase*' in initialization
};
^
lightsaber:254: error: invalid conversion from 'unsigned int' to 'Preset*' [-fpermissive]
#define NELEM(X) (sizeof(X)/sizeof((X)[0]))
^
/Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:700:27: note: in expansion of macro 'NELEM'
#define CONFIGARRAY(X) X, NELEM(X)
^
sketch/config/common_presets.h:81:50: note: in expansion of macro 'CONFIGARRAY'
{ 2600, WS2811BladePtr<97, WS2811_580kHz>(), CONFIGARRAY(presets) },
^
In file included from sketch/config/mysaber_config.h:15:0,
from /Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:754:
sketch/config/common_presets.h:107:1: error: cannot convert 'Preset*' to 'BladeBase*' in initialization
};
^
lightsaber:254: error: invalid conversion from 'unsigned int' to 'Preset*' [-fpermissive]
#define NELEM(X) (sizeof(X)/sizeof((X)[0]))
^
/Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:700:27: note: in expansion of macro 'NELEM'
#define CONFIGARRAY(X) X, NELEM(X)
^
sketch/config/common_presets.h:84:49: note: in expansion of macro 'CONFIGARRAY'
{ 15000, WS2811BladePtr<1, WS2811_580kHz>(), CONFIGARRAY(charging_presets) },
^
In file included from sketch/config/mysaber_config.h:15:0,
from /Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:754:
sketch/config/common_presets.h:107:1: error: cannot convert 'Preset*' to 'BladeBase*' in initialization
};
^
lightsaber:254: error: invalid conversion from 'unsigned int' to 'Preset*' [-fpermissive]
#define NELEM(X) (sizeof(X)/sizeof((X)[0]))
^
/Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:700:27: note: in expansion of macro 'NELEM'
#define CONFIGARRAY(X) X, NELEM(X)
^
sketch/config/common_presets.h:90:73: note: in expansion of macro 'CONFIGARRAY'
{ 7800, WS2811BladePtr<144, WS2811_ACTUALLY_800kHz | WS2811_GRB>(), CONFIGARRAY(presets) },
^
In file included from sketch/config/mysaber_config.h:15:0,
from /Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:754:
sketch/config/common_presets.h:107:1: error: cannot convert 'Preset*' to 'BladeBase*' in initialization
};
^
lightsaber:254: error: invalid conversion from 'unsigned int' to 'Preset*' [-fpermissive]
#define NELEM(X) (sizeof(X)/sizeof((X)[0]))
^
/Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:700:27: note: in expansion of macro 'NELEM'
#define CONFIGARRAY(X) X, NELEM(X)
^
sketch/config/common_presets.h:94:71: note: in expansion of macro 'CONFIGARRAY'
{ 5200, SimpleBladePtr<Blue3mmLED,Blue3mmLED,Blue3mmLED,NoLED>(), CONFIGARRAY(simple_presets) },
^
In file included from sketch/config/mysaber_config.h:15:0,
from /Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:754:
sketch/config/common_presets.h:107:1: error: cannot convert 'Preset*' to 'BladeBase*' in initialization
};
^
lightsaber:254: error: invalid conversion from 'unsigned int' to 'Preset*' [-fpermissive]
#define NELEM(X) (sizeof(X)/sizeof((X)[0]))
^
/Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:700:27: note: in expansion of macro 'NELEM'
#define CONFIGARRAY(X) X, NELEM(X)
^
sketch/config/common_presets.h:97:80: note: in expansion of macro 'CONFIGARRAY'
{ 20000, SimpleBladePtr<CreeXPE2White, CreeXPE2Blue, CreeXPE2Blue, NoLED>(), CONFIGARRAY(simple_presets) },
^
In file included from sketch/config/mysaber_config.h:15:0,
from /Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:754:
sketch/config/common_presets.h:107:1: error: cannot convert 'Preset*' to 'BladeBase*' in initialization
};
^
lightsaber:254: error: invalid conversion from 'unsigned int' to 'Preset*' [-fpermissive]
#define NELEM(X) (sizeof(X)/sizeof((X)[0]))
^
/Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:700:27: note: in expansion of macro 'NELEM'
#define CONFIGARRAY(X) X, NELEM(X)
^
sketch/config/common_presets.h:100:82: note: in expansion of macro 'CONFIGARRAY'
{ 27000, SimpleBladePtr<Blue8mmLED100, Blue8mmLED100, Blue8mmLED100, NoLED>(), CONFIGARRAY(simple_presets) },
^
In file included from sketch/config/mysaber_config.h:15:0,
from /Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:754:
sketch/config/common_presets.h:107:1: error: cannot convert 'Preset*' to 'BladeBase*' in initialization
};
^
lightsaber:254: error: invalid conversion from 'unsigned int' to 'Preset*' [-fpermissive]
#define NELEM(X) (sizeof(X)/sizeof((X)[0]))
^
/Users/TimLee/Documents/Star Wars Props/Lightsaber (Graflex)/ProffieBoard/lightsaber/lightsaber.ino:700:27: note: in expansion of macro 'NELEM'
#define CONFIGARRAY(X) X, NELEM(X)
^
sketch/config/common_presets.h:106:65: note: in expansion of macro 'CONFIGARRAY'
{ 100000, SimpleBladePtr<CreeXPL, CreeXPL, CreeXPL, NoLED>(), CONFIGARRAY(white_presets) },
^
exit status 1
invalid conversion from 'unsigned int' to 'Preset*' [-fpermissive]
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.