Arduino and Electric Imp code for controlling the LumaPad 8000s