MAKE LEDS WORK (TIMING AND SUCH)

provides working code for the led control stuff (no more 5 minutes waiting between notifs)