6
* Copyright 2009, Dave Freese, W1HKJ
12
//=============================================================================
15
const char IC728name_[] = "IC-728";
16
const char *IC728modes_[] = { "LSB", "USB", "AM", "CW", "RTTY", "FM", NULL};
17
const char *IC728_widths[] = { "NARR", "WIDE", NULL};
19
RIG_IC728::RIG_IC728() {
22
bandwidths_ = IC728_widths;
23
comm_baudrate = BR1200;
39
adjustCIV(defaultCIV);
46
//=============================================================================
48
long RIG_IC728::get_vfoA ()
56
if (waitFOR(10, "get vfo A")) {
57
size_t p = replystr.rfind(resp);
58
if (p != string::npos)
59
freqA = fm_bcd_be(&replystr[p+5], 8);
64
void RIG_IC728::set_vfoA (long freq)
69
cmd.append( to_bcd_be( freq, 8 ) );