Hello, I have been using my Arduino for two days, and as such, I am not overly familiar with the the language. While trying to compile the Tone example on the Arduino learning page, found here http://arduino.cc/en/Tutorial/Tone, I receive the following error message:
core.a(main.cpp.o): In function main': C:\Users\Garrett\Documents\arduino-1.0\hardware\arduino\cores\arduino/main.cpp:11: undefined reference to
setup'
C:\Users\Garrett\Documents\arduino-1.0\hardware\arduino\cores\arduino/main.cpp:14: undefined reference to `loop'
I have the pitches.h file in the proper location, and have looked at main.cpp, but since it is one of the core files and I am unsure how (if at all) to modify it properly, I have left it alone. Any assistance in getting this code to run is appreciated.