Hackdub:
If the condition is met.I want the pin to go high , ++count,then go low after a time..
Is this a bracket issue?
Yes
is it only the line directly below the condition that is linked, and how do i add more...
if (condition)
statement;
where statement is either one line like
digitalWrite( 13, HIGH);
or multiple like
{
digitalWrite(13, HIGH);
count++;
... etc
}
http://arduino.cc/en/Reference/If
Cheers,
John