Updated to actually write data over the serial port to control lights