Comments
Login to post a comment...
US Police response vehicle lights clone.
|
Very simple little project, started easy for first time using FRITZING. It was very easy to use. Anyways here is the scetch: /* Project - Emergency Response Signals Free Code by Tim SemborskiThis is for learning purposes. Please be responsible with this code!/ //Create new variables and store the pin number byte redPin = 12; byte bluePin = 10; //Setup function, declare pins as OUTPUTs void setup() { pinMode(redPin, OUTPUT); pinMode(bluePin, OUTPUT); } //Loop function, makes the LEDs blink void loop() { digitalWrite(redPin, HIGH); delay(100); digitalWrite(redPin, LOW); digitalWrite(bluePin, HIGH); delay(100); digitalWrite(bluePin, LOW); } |
Files |
Sugar # July 15, 2011, 1:56 p.m.
Well done Tim. I added triple the amount of LED's (35,000 MCD each) and nearly burnt out the retina's of the guy next door, while he was next door. Cheers, SugarSemborski # July 17, 2011, 12:03 a.m.
Hahaah. Thanks for the reply!