Go Down

Topic: The Graph Program (Read 586 times) previous topic - next topic


I tried to verify the arduino code for the Graph projects in Tutorials http://www.arduino.cc/en/Tutorial/Graph. but it said : In function 'void setup()':
error: redefinition of 'void setup()' In function 'void loop()': any reason for it to do this.
I'm using arduino 0010
Never wing it, unless it's convenient.


Did you put both the arduino AND processing code into Arduino?  The only thing you should have inside arduino is:
Code: [Select]
void setup()

void loop()

The other stuff gets entered into the "processing" environment and compiled/run on the host system, but I don't know anything about that...


I no  but it comes up with the error message.
Never wing it, unless it's convenient.


ah got it working
didn't understand the tabs thing
sorry I'm n00bish
Never wing it, unless it's convenient.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131