updated to AMSerialPort July 2011