Updated RF switch PIN.

This commit is contained in:
jupfi 2023-08-18 12:17:54 +02:00
parent 155921a0e1
commit 1ecf275b60
2 changed files with 5 additions and 8 deletions

View file

@ -27,12 +27,9 @@
#define DIAG1_PIN_M2 2 // used for homing
//ADC Pin - obslete
// #define REFLECTION_PIN 15
// Filter Bank
#define FILTER_SWITCH_A 23
#define FILTER_SWITCH_B 22
// RF Switch
#define RF_SWITCH_PIN 34
#define RF_SWITCH_PIN 15

View file

@ -118,6 +118,10 @@ void setup()
digitalWrite(FILTER_SWITCH_A, LOW);
digitalWrite(FILTER_SWITCH_B, HIGH);
// RF Switch for switching between preamp and tuning and matching module
pinMode(RF_SWITCH_PIN, OUTPUT);
digitalWrite(RF_SWITCH_PIN, HIGH);
// ADAC module
adac.enable_internal_Vref();
adac.set_DAC_max_2x_Vref();
@ -127,10 +131,6 @@ void setup()
adac.write_DAC(VT, 0.0);
adac.configure_ADCs(ADCs);
// RF Switch for switching between preamp and tuning and matching module
pinMode(RF_SWITCH_PIN, OUTPUT);
digitalWrite(RF_SWITCH_PIN, HIGH);
}
// Serial communication via USB.