RS485 sends garbage

The example accepts only one character at a time. Go back to the original sketch but ignore the comment about the pin 10/11 crossover. Pin 10 always goes to RO and pin 11 always goes to DI.