Rewrote Blink_Thread to work with our HAL