The serial port uses pins 0 and 1, but you're already using them for something else. Stop using those pins and I suspect you'll find the serial port starts working properly again.
The serial port uses pins 0 and 1, but you're already using them for something else. Stop using those pins and I suspect you'll find the serial port starts working properly again.