Made led_states global. Yuck... :(