Dear members,
I have a problem with programming my Arduino UNO.
If I write any code, for instance
int led = 13;
void setup()
{
Serial.begin(9600);
}
void loop()
{
pinMode(led, OUTPUT);
}
just to try and then upload it, following errors appear:
main.cpp.o: In function
main': C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:11: undefined reference to
setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:14: undefined reference to `loop'
I've tried the example projects already and they work! But if I copy the example code into my test-project and then upload it, the same errors are appearing...
Please help me
Yours faithfully
Stefan