Robojax

Code for EAZY-RL 12V Programmable Timer with voltage range sensor

دروس آردوینو به فارسی

Code for EAZY-RL 12V Programmable Timer with voltage range sensor

This video shows you how to control control EAZY-RL Module using Arduino.


 /*
 * EAZY-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:


}