added partial decoding of serial communication to main.cpp

modified from read(...FULL LENGH) to read(...PARTIAL) to read serial data smoothly.
```
+#include <stdio.h>
- #include	<stdio.h>
```
in this change, you just changed the number of white space, and there are no change in logically.