I just got my Sparki and I’m trying to find my way around.
I can’t compile anything that needs Sparki.cpp
I get the following error message:
core.a(Sparki.cpp.o): In function `SparkiClass::RGB(unsigned char, unsigned char, unsigned char)':
C:\Program Files (x86)\SparkiDuino\hardware\arduino\cores\arduino/Sparki.cpp:299: multiple definition of `SparkiClass::RGB(unsigned char, unsigned char, unsigned char)'
sparki\Sparki.cpp.o:C:\Users\Cleo\Documents\Arduino\libraries\sparki/Sparki.cpp:239: first defined here
and many more just like it
I had an Arduino installation already, but I uninstalled it, and uninstall/reinstall SparkiDuino to no avail.
My first attempt was running the RGB example. No go
However if I open the one that I can find under Sketchbook/Libraries/Sparki , that one compiles.
I notice it uses the ‘robot’ object instead of the ‘sparki’ object
robot.RGB instead of sparki.RGB
What’s the scoop on that?
