-
Notifications
You must be signed in to change notification settings - Fork 1
/
beepfunc.h
28 lines (27 loc) · 900 Bytes
/
beepfunc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef _BEEPFUNC_H
#define _BEEPFUNC_H
#include "config.h"
#include "Arduino.h"
#if defined ALTIMULTIESP32 || defined ALTIMULTIESP32_ACCELERO || defined ALTIMULTIESP32_ACCELERO_375 || defined ALTIMULTIESP32_ACCELERO_345
#include <ESP32Tone.h>
#endif
#ifdef ALTIDUOESP32
#include <ESP32Tone.h>
#endif
extern boolean noContinuity;
//Our drogue has been ejected i.e: apogee has been detected
extern boolean allApogeeFiredComplete ;
extern boolean NoBeep;
extern const int pinSpeaker;
extern int beepingFrequency;
extern int pos;
extern void beepAltitude(long altitude);
extern void beginBeepSeq();
extern void longBeep();
extern void shortBeep();
extern void beepAltiVersion (int majorNbr, int minorNbr);
extern void longBeepRepeat( int digit );
extern void shortBeepRepeat( int digit );
extern void beepAltitudeNew( long value);
extern void continuityCheckAsync();
#endif