RS485 ARDUINO LIBRARY ISSUE

Plz i need help in this issue guys iam using arduino uno on board wired with max 485 chip which use the hardware serial but the re,de pin is digital pin 9 ...

By using the arduinors485 library it uses pin 2 for tx control .
I have tried to change it from the library files but it didnot work plz i need to know what is the problem here

Show the code that you changed.

In rs485.h file i changed this line
#ifdef AVR
#define RS485_DEFAULT_DE_PIN 2
#define RS485_DEFAULT_RE_PIN -1

To

#ifdef AVR
#define RS485_DEFAULT_DE_PIN 9
#define RS485_DEFAULT_RE_PIN 9

So i have solved the problem guys

You should also add this instruction in the setup

RS485.setPins(1,9,9);