The serial I/O you're using goes through pins zero and one.
You can use them for I/O, but not at the same time as you're using them for serial.
The serial I/O you're using goes through pins zero and one.
You can use them for I/O, but not at the same time as you're using them for serial.