Page 1 of 1

getting errors with wave mode since library update

Posted: Mon Apr 29, 2013 7:29 am
by Smotz
Guys,

I'm getting errors with the wave modes since the update. See below:

Globals\Globals.cpp.o: In function `LongPulseMode(unsigned char, unsigned char, int, unsigned char)':
C:\Users\joe\Documents\Arduino\libraries\Globals/Globals.cpp:265: multiple definition of `LongPulseMode(unsigned char, unsigned char, int, unsigned char)'
Display_Tank_adjusted_ino.cpp.o:C:\Users\joe\AppData\Local\Temp\build5779802611601859480.tmp/Display_Tank_adjusted_ino.cpp:147: first defined here
c:/program files (x86)/reef angel controller/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions

Re: getting errors with wave mode since library update

Posted: Mon Apr 29, 2013 8:18 am
by lnevo
It's in the libraries now :) you can take the wave function out of your INO file. It's complaining that its defined twice.

Re: getting errors with wave mode since library update

Posted: Mon Apr 29, 2013 9:23 am
by Smotz
lnevo wrote:It's in the libraries now :) you can take the wave function out of your INO file. It's complaining that its defined twice.
Thats a beautiful thing! Gotta love progress!