Skip to content

Instantly share code, notes, and snippets.

@kuc-arc-f
Created April 28, 2015 03:30
agri-typ-a-4a-relay
#define RELAY_PIN 5
void setup() {
pinMode(RELAY_PIN ,OUTPUT);
}
//on
digitalWrite(RELAY_PIN , HIGH);
//off
digitalWrite(RELAY_PIN , LOW);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment