modified serial reader to read one byte at a time
checked input length
Merge remote-tracking branch 'origin/master' into serial_plug