Control High Voltage Devices

Featured Video Play Icon
1
2
3
4
5
6
7
8
9
10
11
int in1 = 7;
void setup() {
  pinMode(in1, OUTPUT);
  digitalWrite(in1, HIGH);
}
void loop() {
  digitalWrite(in1, LOW);
  delay(3000);
  digitalWrite(in1, HIGH);
  delay(3000);
}

Leave a Reply

Your email address will not be published. Required fields are marked *