Skip to content

Instantly share code, notes, and snippets.

View Blaxdemir's full-sized avatar

Mac-Evoy ING Blaxdemir

View GitHub Profile
#include <IRremote.hpp>
#define RELAY_PIN 5
#define IR_RECEIVER_PIN 2
long last = millis();
relay_state = LOW;
IRrecv irrecv(IR_RECEIVER_PIN, ENABLE_LED_FEEDBACK);