//Created by William_L // //Receiver Code // //Purpose: // The transmitter emits a specific code that is user defined by the variable pass[]. // When the receiver detects that specific signal, an action is carried out // on the reciever end. //Date: 23/12/2015 #include #include //recieving pin to the module is on 10 int receiving_pin = 12; char pass[]="home"; //change the value here to change the signal password char control_relay = PD6; int on_off=0; int converted_pass; int i; int counter=0; //needs to be initialized outside of the loop void setup() { //Data directions DDRD |= (1<