Improved tail pips

This commit is contained in:
Jim Colderwood 2024-04-02 11:47:10 +01:00
parent 0c43a44956
commit 0ee6d0a78e
2 changed files with 7 additions and 6 deletions

View File

@ -77,7 +77,7 @@ void loop() {
static unsigned long bc = millis();
if (millis() - bc >= 1000) {
bc = millis();
tone(3, myrpt->params.pip_pitch - 500, myrpt->params.pip_length * 1);
tone(3, TAILPIP_PITCH, myrpt->params.pip_length);
}
}

View File

@ -14,18 +14,19 @@
#define CW_PITCH 875
/* PARAMS */
#define COURTESY TONE
#define COURTESY CW
#define GWPIP 875
#define GWPIPLEN 120
#define PIP_LETTER 'K'
#define PIP_GW_LETTER 'R'
#define PIP_LETTER 'R'
#define PIP_GW_LETTER 'I'
#define PIP_SPEED 18
#define RFPIP 1200
#define RFPIPLEN 80
#define TAILPIPS false
#define TAILPIPS true
#define TAILPIP_PITCH 500
/* TIMERS */
#define HANGTIME 2000
#define HANGTIME 3000
#define KEYCHUNK_TIME 1000
#define TIMEOUT 300000
#define IDTIME 300000