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:
Matt McWilliams 2024-02-21 22:54:46 +01:00
parent 7c8be86fb8
commit f9803d2648
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
int signalPin = 8;
void setup () {
pinMode(signalPin, OUTPUT);
}
void loop () {
digitalWrite(signalPin, HIGH);
delay(1000);
digitalWrite(signalPin, LOW);
delay(2000);
}