MAKE LEDS WORK (TIMING AND SUCH)

The matching lights.c file for previous changes