Changed base frequency tone (hope this will improve stability

This commit is contained in:
ftc
2021-01-06 12:14:13 +03:00
parent 0a3947ebf2
commit 1f8e5d3eeb
+1 -1
View File
@@ -14,7 +14,7 @@ enum MeasureChannel
class Measurer
{
// frequency for generating tone
const int TONE_FREQUENCY = 6000;
const int TONE_FREQUENCY = 1000;
// frequency window width to search for resulting tone
const int FREQUENCY_GAP = 100;
// our resulting amplitude should differ at least this times from average