s21rc / Arduino-LDMOS-SSPA-Controller

Arduino LDMOS SSPA controller with Nextion HMI display
GNU General Public License v3.0
21 stars 7 forks source link

antenna 2 #2

Closed RF-TEC closed 2 years ago

RF-TEC commented 2 years ago

Hi

By compiling under the Arduino IDE v1.8.19, an error related to "antenna2" appeared.

I looked at the code, but I can't explain the reason, please would you know what it is?

Arduino-LDMOS-SSPA-Controller-v1.4:684:18: error: 'antenna2' was not declared in this scope
     digitalWrite(antenna2, HIGH);
s21rc commented 2 years ago

Sorry my bad (I commented that as I do not have 2 antennas), please uncomment the line 43:

//#define antenna2 10 //Antenna 2 relay pin of arduino

to:

define antenna2 10 //Antenna 2 relay pin of arduino

RF-TEC commented 2 years ago

Hello,

it's solved, everything is in order.

Thanks.