Hello guys,
I bought the Keywish Panther tank kit and I have it all assembled and ready to go but I'm having problems figuring out why I am getting compile errors. The example code that was provided all have compile errors except only one which was an RGB color LED blink program. I was able to successfully upload the program to the Blu Uno board and it does blink red, green, and blue in a loop.
Here is the copy of the ide error after compile:
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno"
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\standard -IC:\Program Files (x86)\Arduino\libraries\Wire C:\Users\Mdboo\AppData\Local\Temp\build8418444274786784546.tmp\Buzzer.cpp -o C:\Users\Mdboo\AppData\Local\Temp\build8418444274786784546.tmp\Buzzer.cpp.o
In file included from /Buzzer.h:48,
from Buzzer.cpp:2:
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Arduino.h:44:1: warning: "true" redefined
In file included from /Buzzer.h:47,
from Buzzer.cpp:2:
c:\program files (x86)\arduino\hardware\tools\avr\bin../lib/gcc/avr/4.3.2/include/stdbool.h:46:1: warning: this is the location of the previous definition
In file included from /Buzzer.h:48,
from Buzzer.cpp:2:
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Arduino.h:45:1: warning: "false" redefined
In file included from /Buzzer.h:47,
from Buzzer.cpp:2:
c:\program files (x86)\arduino\hardware\tools\avr\bin../lib/gcc/avr/4.3.2/include/stdbool.h:45:1: warning: this is the location of the previous definition
Buzzer.cpp: In member function 'void Buzzer::tone(int, uint16_t, uint32_t)':
Buzzer.cpp:105: warning: comparison between signed and unsigned integer expressions
Buzzer.cpp: In member function 'void Buzzer::tone(uint16_t, uint32_t)':
Buzzer.cpp:136: warning: comparison between signed and unsigned integer expressions
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\standard -IC:\Program Files (x86)\Arduino\libraries\Wire C:\Users\Mdboo\AppData\Local\Temp\build8418444274786784546.tmp\debug.cpp -o C:\Users\Mdboo\AppData\Local\Temp\build8418444274786784546.tmp\debug.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\standard -IC:\Program Files (x86)\Arduino\libraries\Wire C:\Users\Mdboo\AppData\Local\Temp\build8418444274786784546.tmp\Emakefun_MotorDriver.cpp -o C:\Users\Mdboo\AppData\Local\Temp\build8418444274786784546.tmp\Emakefun_MotorDriver.cpp.o
In file included from Emakefun_MotorDriver.cpp:9:
/Emakefun_MotorDriver.h:6:17: warning: SPI.h: No such file or directory
In file included from Emakefun_MotorDriver.cpp:2:
/PinChangeInt.h:494: warning: 'PCINT0_vect_em' appears to be a misspelled signal handler
/PinChangeInt.h:504: warning: 'PCINT1_vect_em' appears to be a misspelled signal handler
/PinChangeInt.h:514: warning: 'PCINT2_vect_em' appears to be a misspelled signal handler
Emakefun_MotorDriver.cpp: In member function 'void Emakefun_EncoderMotor::init(void ()())':
Emakefun_MotorDriver.cpp:127: error: converting from 'void (Emakefun_EncoderMotor::)()' to 'void ()()'
Emakefun_MotorDriver.cpp:133: error: converting from 'void (Emakefun_EncoderMotor::)()' to 'void (*)()'
Emakefun_MotorDriver.cpp: In member function 'uint8_t Emakefun_StepperMotor::onestep(uint8_t, uint8_t)':
Emakefun_MotorDriver.cpp:476: warning: unused variable 'a'
Emakefun_MotorDriver.cpp:476: warning: unused variable 'b'
Emakefun_MotorDriver.cpp:476: warning: unused variable 'c'
Emakefun_MotorDriver.cpp:476: warning: unused variable 'd'