mirror of
https://github.com/nqrduck/ATM.git
synced 2024-11-25 11:32:28 +00:00
Updated RF switch PIN.
This commit is contained in:
parent
155921a0e1
commit
1ecf275b60
2 changed files with 5 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue