updating squelch and cs options

This commit is contained in:
morgan
2016-06-30 19:33:40 -07:00
parent 75e964289c
commit a92b011492
3 changed files with 34 additions and 31 deletions

View File

@@ -242,7 +242,7 @@
#define ROBOT8BW 2
#define SC2-180 55
#define SC2_180 55
#define MARTIN1 44
// RTTY Frequencies
@@ -263,7 +263,7 @@ class HamShield {
static HamShield *sHamShield; // HamShield singleton, used for ISRs mostly
HamShield();
HamShield(uint8_t address);
HamShield(uint8_t cs_pin);
void initialize();
bool testConnection();
@@ -375,10 +375,10 @@ class HamShield {
bool getSQState();
// SQ threshold
void setSQHiThresh(uint16_t sq_hi_threshold); // Sq detect high th, rssi_cmp will be 1 when rssi>th_h_sq, unit 1/8dB
uint16_t getSQHiThresh();
void setSQLoThresh(uint16_t sq_lo_threshold); // Sq detect low th, rssi_cmp will be 0 when rssi<th_l_sq && time delay meet, unit 1/8 dB
uint16_t getSQLoThresh();
void setSQHiThresh(int16_t sq_hi_threshold); // Sq detect high th, rssi_cmp will be 1 when rssi>th_h_sq, unit 1dB
int16_t getSQHiThresh();
void setSQLoThresh(int16_t sq_lo_threshold); // Sq detect low th, rssi_cmp will be 0 when rssi<th_l_sq && time delay meet, unit 1dB
int16_t getSQLoThresh();
// SQ out select
void setSQOutSel();