Blink code moved to ISR for thread safety