getMode() and setMode() CW-N CWR-N
Opened this issue · 0 comments
On my FT817ND I have a narrow CW filter.
getMode() returns 130 and 131 when the rig is in CW mode.
setMode() does not allow setting of mode for byte values greater than 8.
I amended it to allow 130 and 131. Don't do this !! It hangs the FT817nd.
Instead, amend it so that it allows the value to be passed, but then changes the value to the normal CW mode values before issuing the command. i.e.
void FT817::setMode(byte mode) {
if (mode <= 8 || mode==130 || mode==131) {
if (mode==130)
mode=2;
if (mode==131)
mode=3;
sendCATCommandChar(mode);
threeBytePreamble();
sendCATCommandChar(FT817_MODE_SET);
readOneChar();
}
Might be worth others checking out this behavior before lodging a formal change. There may also be other similar inconsistencies in FT817nd operation but they are not relevant to my application. (I operates CW only). Nice library - very useful indeed. Using it in mag loop auto-tuner using a stepper to maintain a state of tune dependent on a table of known motor positions for particular frequencies. Also does a one button autotune like Alain's version.
73
Bernie