-
Notifications
You must be signed in to change notification settings - Fork 6
/
HFBEACON.h
46 lines (38 loc) · 1.2 KB
/
HFBEACON.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/********************************************************************************************
* HF multimodes beacon Arduino library
* Created 04/10/2014
* Christophe Caiveau [email protected]
*
* Use this library freely
*
* Instance :
*
* Functions :
*
*******************************************************************************************/
#ifndef HFBEACON_H
#define HFBEACON_H
#include <Arduino.h>
class HFBEACON
{
public:
HFBEACON();
void rsidToggle(boolean rsidEnable);
void cwTx(long freqCw, char * stringCw, int cwWpm);
void pskTx(long freqPsk, char * stringPsk, int modePsk, int baudsPsk);
void rttyTx(long freqRtty, char * stringRtty);
void hellTx(long freqHell, char * stringHell);
void wsprTx(long freqWspr, char * callWsprTx, char * locWsprTx, char * powWsprTx);
void wsprEncode(char * callWsprProc, char * locWsprProc, char * powWsprProc);
void ddsPower(int powDds);
byte wsprSymb[162];
int wsprSymbGen;
private:
void rsidTx(long freqRsid, int modeRsid);
void pskIdle(long freqIdle, int baudsIdle);
void rttyTxByte (long freqRttyTxbyte, char c);
byte parity(unsigned long tempo);
byte rsidTxEnable;
};
extern HFBEACON Beacon;
#endif