i need a program to write diagrams?

Hi
Do you all know of any programs to draw dirgrams of arduino projects. like one that has tons of parts built in and the arduino built in.

ya but that dose not have a arduino hardly any resistors or capsitors or diodes.

It does so have an Arduino.

What do you want to do with the output of the program?

i did not see a arduino

Did you watch the video on the home page? Sure looks a lot like an Arduino...

i did i will do that also i am writting a program i get this error

 In function 'void loop()':
error: expected primary-expression before ')' token

When i type this code

// turns led on for 1 sec and then off for 10sec

int ledpin = 10;

void setup()
{
  pinMode(ledpin, OUTPUT);
}

void loop()
{
 for (int x=0; x<3; x+++) 
    digitalWrite(ledpin, HIGH);
    delay (1000);
    digitalWrite(ledpin, LOW);
    delay (100);
  }

ah i found all those tuns of parts

for (int x=0; x<3; x[glow]+++[/glow])

Which C book have you been reading? :wink:

Your loop function should look like this:

void loop()
{
   for (int x=0; x<3; x[glow]++[/glow])
  [glow]{[/glow]
     digitalWrite(ledpin, HIGH);
     delay (1000);
     digitalWrite(ledpin, LOW);
     delay (100);
  [glow]}[/glow]
}

ah i was trying it after i read i must of typed it rong thanks

Ah, the elusive increment thrice operator! ;D