change serial function ,read 1 byte minmium,timeout 0