Convert text to flashes of light to send to hardware.