fixed issues to make it build (USARTClass has no member write9, SERIAL_9N1 is not declared (typo?)..)