RS485 Wind Direction Transmitter

This says that the hardware serial interface should be used for Modbus.

This writes debugging output to an interface that was previously reserved for Modbus.

Do you see the problem?