addon to previous commit
bugfix for lost bytes while writing to com port (bytes buffering and writing all at ones)