ARDUINO DUAL LINE TRAFFIC LIGHT CODE AND CIRCUIT
NECESSARY COMPONENTS
NECESSARY COMPONENTS
- Arduino board
- 440 ohm resistance ---6
- Green led-----2
- Yellow led----2
- Red led -------2
CIRCUIT DIAGRAM=
|
www.eccircuit.com |
CODE =
TERMS AND CONDITIONS
traffic light ke code men apne dhiyan se dekha hoga to apko dikh raha hoga ki teen jagha par comment karke kuch likha gya he [ red led time ya yellow , green led time ] or uske just samne likha hoga delay jske ( ) me kuch number likhen honge darasal bo jo ( ) men likha he bo us color ke led light ke on rehne ka time he agar ap cahe to us time ko apne anusar change kar sakte hen dhyan rahe ki bo time millisecond men he .
1000 millisecond = 1 second.
It is a very nice code,
ReplyDeleteJust what I needed,
Thanks!