Skip to content

Commit 39e7ec4

Browse files
committed
HF and VHF Band Conditions from HamQSL
1 parent 5af4b7b commit 39e7ec4

5 files changed

Lines changed: 567 additions & 27 deletions

File tree

ESPHamClock/HamClock.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,9 @@ typedef enum {
416416
X(PLOT_CH_DST, "Disturbance") \
417417
X(PLOT_CH_STORMS, "Storms") \
418418
X(PLOT_CH_ACTIVENETS, "Active_Nets") \
419-
X(PLOT_CH_LAUNCHES, "Launches")
419+
X(PLOT_CH_LAUNCHES, "Launches") \
420+
X(PLOT_CH_HFCOND, "HF_Bands") \
421+
X(PLOT_CH_VHFCOND, "VHF_Cond")
420422

421423
#define X(a,b) a, // expands PLOTNAMES to each enum and comma
422424
typedef enum {
@@ -2161,6 +2163,10 @@ typedef struct {
21612163

21622164
extern bool installBMPBox (GenReader &gr, const SBox &box, ImageRefit fit, Message &ynot);
21632165
extern void plotBandConditions (const SBox &box, int busy, const BandCdtnMatrix *bmp, char *config_str);
2166+
extern void plotHFConditions (const SBox &box); // hamqsl.cpp
2167+
extern void plotVHFConditions (const SBox &box); // hamqsl.cpp
2168+
extern bool updateHFConditions (const SBox &box); // hamqsl.cpp
2169+
extern bool updateVHFConditions (const SBox &box); // hamqsl.cpp
21642170
extern bool plotXY (const SBox &box, float x[], float y[], int nxy, const char *xlabel,
21652171
const char *ylabel, uint16_t color, float y_min, float y_max, float big_value);
21662172
extern bool plotXYstr (const SBox &box, float x[], float y[], int nxy, const char *xlabel,
@@ -2873,6 +2879,7 @@ extern void drawDigit (const SBox &b, int digit, uint16_t lt, uint16_t bg, uint1
28732879

28742880
// aurora info
28752881
#define AURORA_INTERVAL (1700) // interval, seconds
2882+
#define HQ_INTERVAL (60) // HamQSL HF/VHF pane refresh, secs
28762883
#define AURORA_COLOR RGB565(100,200,150) // plot color
28772884
#define AURORA_MAXPTS (48) // every 30 minutes for 24 hours
28782885
#define AURORA_MAXAGE (24.0F) // max age to plot, hours

ESPHamClock/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ OBJS = \
114114
dxcluster.o \
115115
dxpeds.o \
116116
dxpeds_hide.o \
117+
hamqsl.o \
117118
hurricane.o \
118119
earthmap.o \
119120
earthsat.o \

0 commit comments

Comments
 (0)