Code for Eazy-RL 12V Programmable Timer with Voltage Range Sensor
This video shows you how to control an EAZY-RL Module using Arduino.146-Code for Eazy-RL 12V programmable timer with voltage range sensor
语言: C++
/*
* EASY-RL Programmable 12V Timer relay
* This code is part of this video: https://youtu.be/dtc4UL2bEs4
* Written by Ahmad Shamshiri for Robojax.com at 21:01 in Ajax, Ontario, Canada
* For other Robojax Arduino codes, videos, and libraries
* please visit Robojax.com
*/
void setup() {
// put your setup code here, to run once:
pinMode(4,OUTPUT);// set pin 4 as output
Serial.begin(9600);
delay(1000);
Serial.println("1 Second");
delay(1000);
Serial.println("2 Seconds");
delay(1000);
Serial.println("3 Seconds");
delay(1000);
Serial.println("4 Seconds");
Serial.println("Send Signal");
digitalWrite(4,HIGH);// set pin 4 HIGH
delay(300);
digitalWrite(4,LOW);
}
void loop() {
// put your main code here, to run repeatedly:
}
资源与参考
尚无可用资源。
文件📁
没有可用的文件。