contact_printer/ino/lamp_TIP120_poc/lamp_TIP120_poc.ino

12 lines
175 B
C++

int signalPin = 8;
void setup () {
pinMode(signalPin, OUTPUT);
}
void loop () {
digitalWrite(signalPin, HIGH);
delay(1000);
digitalWrite(signalPin, LOW);
delay(2000);
}