Firmware modifications needed for the file radio.c  to drive the LR+PA module

Question: What firmware modifications are required for the file radio.c to drive the LR+PA module?

 

Answer:

You need to control both ports of the antenna switch. For Transmit: TXRX=1, RXTX=0 For Receive: TXRX=0, RXTX=1 Set REG_PA to 5.Make sure that your power supply can handle the additional current. You need PAs at both ends to get any benefit of range because the protocol is 2-way.