Add proof of concept blink script for wiring the lamp to be driven by +5V and the TIP120 controlling 3 LEDs at once.
This commit is contained in:
parent
7c8be86fb8
commit
f9803d2648
|
@ -0,0 +1,12 @@
|
|||
int signalPin = 8;
|
||||
|
||||
void setup () {
|
||||
pinMode(signalPin, OUTPUT);
|
||||
}
|
||||
|
||||
void loop () {
|
||||
digitalWrite(signalPin, HIGH);
|
||||
delay(1000);
|
||||
digitalWrite(signalPin, LOW);
|
||||
delay(2000);
|
||||
}
|
Loading…
Reference in New Issue