-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSSB_TFT_Display.h
46 lines (40 loc) · 1.38 KB
/
SSB_TFT_Display.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
#ifndef SSB_TFT_Display
#define SSB_TFT_Display
/*
* SSB_TFT_Display.h
* KK4DAS, Dean Souleles, KK4DAS@gmail.com
* May 30, 2020
*
* Constants used in the SSB_TFT_Display Routines
* This file needs to be in included in the main sketch
*
*/
// ===========================Symbolic Constants==================================
#define VFOA 0
#define VFOB 1
#define USB 0
#define LSB 1
#define RX 0
#define TX 1
// ===========================Function Prototypes==================================
void displayClearScreen();
void displayPrintat(String s, int x, int y, int fontsize, int color);
void displayPrintat(int i, int x, int y, int fontsize, int color);
void displayDrawBoundingBox(int len, int x, int y, int fontsize, int fillcolor);
void displayDrawTextBox(String s, int x, int y, int fontsize, int color, int fillcolor);
void displaySMeter(int level);
void displayBanner(String s);
void displayActVFO(uint32_t freq);
void displayAltVFO(uint32_t freq);
void displayVFOAB(int vfo);
void displayTxRx(int tx_rx);
void displayMode(int mode);
void displayIncr(int increment);
void displaySetup(String banner,
uint32_t vfoActfreq, uint32_t vfoAltfreq,
uint32_t activeVFO,
int tx_rx,
int sideband,
int increment,
int s_meter);
#endif