Implemented HardwareSerial and Stream

instead of '1' please use sizeof(uint8_t). this is more explicit about what you are writing.