Hi.
i am a very new hopeful. i am currently bussy with project 5 (controling traffic) in the manual. i keep on getting an error on the last line: digitalWrite(eastGreen, HIGH).expected primary-expression before ',' token.
i have found some mistakes that i have made but this one don't want to go away. the code is as it is in the book. i even got someone to double check for me. can someone please help.
thank you
Not everyone has the book.... I don't.
So post the code here for us to see
the code is as it is in the book.
Copy and paste it here. It only takes a few seconds.
Hi,
Can you please post a copy of your sketch, using code tags?
They are made with the </> icon in the reply Menu.
See section 7 http://forum.arduino.cc/index.php/topic,148850.0.html
Also check the statement line before the line you showed us.
Try a TOOLs AUTO-FORMAT too, this will lay you sketch out to see brackets etc.
Tom... 
I just found a copy of that code online that compiles fine. I won't post it because I might be infringing copyright. (I'm not real sure of the law in this regard.)
It can be found here:-
Project #5: Controlling Traffic
I copied and pasted into my IDE as-is, apart from removing the obvious extras, (line numbers on 4 lines), and it compiled immediately without errors.
Compiles for me too. Perhaps the printed version is different in some subtle way to the online pdf?
OP maybe have a look at the link and compare?
Homework: Re-write without using delay().