the official Arduino example of Serial port communication