I wanted a lighted RECORDING sign to change colors based on the play state of my recording software. I wrote the Arduino code below to turn on one of three relays (LED Ligh