Reimplementation of my sunrise alarm clock using a spark core.