changed dataFromSerial event to dataToArduino