WIP: GB3DL #3
@ -84,7 +84,7 @@ void loop() {
|
|||||||
if (myrpt->state == HANG && TAILPIPS) {
|
if (myrpt->state == HANG && TAILPIPS) {
|
||||||
if (millis() - myrpt->tail >= TAIL_PIP_DELAY && !busy(myrpt)) {
|
if (millis() - myrpt->tail >= TAIL_PIP_DELAY && !busy(myrpt)) {
|
||||||
myrpt->tail = millis();
|
myrpt->tail = millis();
|
||||||
tone(PIP, TAILPIP_PITCH, myrpt->params.pip_length);
|
tone(PIP, TAILPIP_PITCH, TAIL_LEN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,20 +19,20 @@ uint8_t io[6][2] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* CW ID SETTINGS */
|
/* CW ID SETTINGS */
|
||||||
#define ID "GB3DL"
|
#define ID "GB3DL H"
|
||||||
#define CW_SPEED 22
|
#define CW_SPEED 20
|
||||||
#define CW_PITCH 1375
|
#define CW_PITCH 1000
|
||||||
|
|
||||||
/* PARAMS */
|
/* PARAMS */
|
||||||
#define COURTESY TONE
|
#define COURTESY TONE
|
||||||
#define CLOSEDOWN 0
|
#define CLOSEDOWN 0
|
||||||
#define GWPIPLEN 1200 / CW_SPEED
|
#define GWPIPLEN 150
|
||||||
#define PIP_LETTER 'E'
|
#define PIP_LETTER 'E'
|
||||||
#define PIP_GW_LETTER 'T'
|
#define PIP_GW_LETTER 'T'
|
||||||
#define RFPIP 1245
|
#define RFPIP CW_PITCH
|
||||||
#define RFPIPLEN 1200 / CW_SPEED
|
#define RFPIPLEN 300
|
||||||
#define START 0
|
#define START 0
|
||||||
#define TAILPIPS false
|
#define TAILPIPS true
|
||||||
#define TAILPIP_PITCH CW_PITCH
|
#define TAILPIP_PITCH CW_PITCH
|
||||||
|
|
||||||
/* SERIAL */
|
/* SERIAL */
|
||||||
@ -40,12 +40,13 @@ uint8_t io[6][2] = {
|
|||||||
#define SERIAL_SPEED 115200
|
#define SERIAL_SPEED 115200
|
||||||
|
|
||||||
/* TIMERS */
|
/* TIMERS */
|
||||||
#define HANGTIME 2000
|
#define HANGTIME 7000
|
||||||
#define KEYCHUNK_TIME 750
|
#define KEYCHUNK_TIME 1500
|
||||||
#define TOTIME 300000
|
#define TOTIME 300000
|
||||||
#define IDTIME 300000
|
#define IDTIME 500000
|
||||||
#define LAST_ID_HOLD 60000
|
#define LAST_ID_HOLD 60000
|
||||||
#define PIP_KEYCHUNK 1000
|
#define PIP_KEYCHUNK 1000
|
||||||
#define TAIL_PIP_DELAY 3000
|
#define TAIL_PIP_DELAY 2500
|
||||||
|
#define TAIL_LEN 300
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
Reference in New Issue
Block a user