The Graph Program

I tried to verify the arduino code for the Graph projects in Tutorials 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

Did you put both the arduino AND processing code into Arduino? The only thing you should have inside arduino is:

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.

ah got it working
didn’t understand the tabs thing
sorry I’m n00bish