kopia lustrzana https://github.com/kk4das/SSB_Radio_Control
Minor updates
rodzic
19402d67bb
commit
7c2c157998
14
CAT.cpp
14
CAT.cpp
|
@ -16,20 +16,6 @@ IC746 radio = IC746();
|
||||||
#define MODE_USB 01
|
#define MODE_USB 01
|
||||||
#define MODE_CW 02
|
#define MODE_CW 02
|
||||||
|
|
||||||
// TX Rx State
|
|
||||||
// FT857D combine TX and RX status
|
|
||||||
// 0b abcdefgh
|
|
||||||
// a = 0 = PTT on
|
|
||||||
// a = 1 = PTT off
|
|
||||||
// b = 0 = HI SWR off
|
|
||||||
// b = 1 = HI SWR on
|
|
||||||
// c = 0 = split on
|
|
||||||
// c = 1 = split off
|
|
||||||
// d = dummy data
|
|
||||||
// efgh = SWR meter data ??
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// function to run when we must put radio on TX/RX
|
// function to run when we must put radio on TX/RX
|
||||||
// If PTT requests transmit and the rig is not already transmitting, start TX
|
// If PTT requests transmit and the rig is not already transmitting, start TX
|
||||||
|
|
|
@ -80,6 +80,7 @@
|
||||||
#define ENCODER_B 3 // Rotary Lib Default - Encoder pin B D3 (interrupt pin)
|
#define ENCODER_B 3 // Rotary Lib Default - Encoder pin B D3 (interrupt pin)
|
||||||
#define PTT_SENSE 4 // Detect Mic PT
|
#define PTT_SENSE 4 // Detect Mic PT
|
||||||
#define PTT 5 // LOW=Rx, HIGH=Tx
|
#define PTT 5 // LOW=Rx, HIGH=Tx
|
||||||
|
#define TONE_PIN 8 // Audio out for tune tone
|
||||||
|
|
||||||
// Dual Band Pins (requires dual band mod)
|
// Dual Band Pins (requires dual band mod)
|
||||||
#define BAND_BTN 6 // Band Switch momentary button
|
#define BAND_BTN 6 // Band Switch momentary button
|
||||||
|
@ -91,7 +92,6 @@
|
||||||
#define ENCODER_BTN A3 // Rotary Lib Default - Encoder push button
|
#define ENCODER_BTN A3 // Rotary Lib Default - Encoder push button
|
||||||
#define I2C_SDA A4 // I2C SDA Pin
|
#define I2C_SDA A4 // I2C SDA Pin
|
||||||
#define I2C_SCL A5 // I2C SCL Pin
|
#define I2C_SCL A5 // I2C SCL Pin
|
||||||
#define TONE_PIN A6 // Audio out for tune tone
|
|
||||||
|
|
||||||
// Smeter
|
// Smeter
|
||||||
#define SMETER_PIN A7 // Requires Signal Strength Sensor
|
#define SMETER_PIN A7 // Requires Signal Strength Sensor
|
||||||
|
|
Ładowanie…
Reference in New Issue