 //define USE_DIP
 #define USE_DIVERSITY
 //#define DEBUG
+//#define RSSI_DEBUG
 
 #define spiDataPin 10
 #define slaveSelectPin 11

        rssiB += analogRead(rssiPinB);
#endif
    }
#ifdef USE_DIVERSITY

    // choosing which receiver RSSI to use.. do not change LED
    if(receiver == useReceiverA) {
        rssi=rssiA;
    }
    else if(receiver == useReceiverB) {
        rssi=rssiB;
    }
    else{

    digitalWrite(buzzer, HIGH);
#ifdef USE_DIVERSITY
    pinMode(receiverB_led,OUTPUT);
    digitalWrite(receiverA_led, LOW);
#endif
    // dip switches
#ifdef USE_DIP
