Added tone function

Added tone function.
Syntax:
radio.tone(x, y, z);

x = length in mS
y = Amplitude in dB, -30 to 0
z = Frequency in Hertz. (10 to 20000)

Note. After this command the audio is set to Unmute.
This commit is contained in:
Sjef Verhoeven PE5PVB
2023-06-01 20:56:22 +02:00
parent ed302d83ec
commit d6f9562a93
5 changed files with 24 additions and 1 deletions
+1
View File
@@ -63,6 +63,7 @@ class TEF6686 {
void setStereoLevel(uint16_t start);
void setUnMute();
void setVolume(int16_t volume);
void tone(uint16_t time, int16_t amplitude, uint16_t frequency);
uint8_t af_counter;
private: