Long awaited fix to CTCSS detection and encoding
Two extremely powerful functions: setCtcssEncoder(float freq) setCtcssDecoder(float freq) Yes, that does mean *any* frequency, including non-standard CTCSS tones. Enjoy. -Casey
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Based on Programming Manual rev. 2.0, 5/19/2011 (RM-MPU-6000A-00)
|
||||
// 11/22/2013 by Morgan Redfield <redfieldm@gmail.com>
|
||||
// 04/26/2015 various changes Casey Halverson <spaceneedle@gmail.com>
|
||||
|
||||
// 05/08/2017 CTCSS code added
|
||||
|
||||
|
||||
#ifndef _HAMSHIELD_H_
|
||||
@@ -311,6 +311,15 @@ class HamShield {
|
||||
|
||||
// Subaudio settings
|
||||
|
||||
// Recommended user function for setting and receiving CTCSS does
|
||||
// TODO: set others to private and/or deprecate
|
||||
|
||||
void setCtcssEncoder(float freq); // generate sub audio tone on channel when transmitting
|
||||
void setCtcssDecoder(float freq); // unmute audio on tone present when receiving channel
|
||||
|
||||
|
||||
|
||||
|
||||
// Ctcss/cdcss mode sel
|
||||
// x00=disable,
|
||||
// 001=inner ctcss en,
|
||||
|
||||
Reference in New Issue
Block a user