Turns a relay on and off using an Arduino Mega 2560.