Whenever I try to use any of the sample code I find in the playground, I get an error when I try to compile the code. Here it is:
In function 'void setup()':
error: redefinition of 'void setup()' In function 'void loop()':
What am I doing wrong?
I am currently trying to use the code for a piezo player from this link:
http://arduino.cc/en/Tutorial/Melody