Arduino: Interprets morse code from an LED using an LDR