Fixing issue with SerialPort Write procedure (prototype working)