Rearranged buttons, added INIT, USB Beacon, CW Beacon.
This commit is contained in:
@ -146,4 +146,15 @@ void FT817_NBS::setMode(FT817_NBS::SignalMode mode){
|
||||
uint8_t value = (uint8_t) mode;
|
||||
uint8_t data[5] = {value, 0x0, 0x0, 0x0, 0x7};
|
||||
sendCommand(&data[0], sizeof(data));
|
||||
}
|
||||
|
||||
void FT817_NBS::setSplit(bool on){
|
||||
uint8_t data[5] = {0x0, 0x0, 0x0, 0x0};
|
||||
if(on){
|
||||
data[4] = 0x2;
|
||||
}
|
||||
else{
|
||||
data[4] = 0x82;
|
||||
}
|
||||
sendCommand(&data[0], sizeof(data));
|
||||
}
|
@ -31,5 +31,6 @@ public:
|
||||
void setFrequency(unsigned long frequency);
|
||||
void toggleAB();
|
||||
void setMode(FT817_NBS::SignalMode);
|
||||
void setSplit(bool on);
|
||||
};
|
||||
#endif
|
Reference in New Issue
Block a user