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
@@ -534,6 +534,7 @@ void setup() {
ShowBW();
setupmode = false;
sprite.createSprite(313, 18);
radio.tone(50, -5, 2000);
}
void loop() {