Split the blink1 helper functions into a separate module.