OSD + BT + WF

This commit is contained in:
Egor Shitikov
2024-08-18 23:21:29 -07:00
parent 82acc0cf8b
commit 36e6f8f2a8
9 changed files with 562 additions and 202 deletions
+7
View File
@@ -0,0 +1,7 @@
#ifndef _BT_WIFI_SCAN_H_
#define _BT_WIFI_SCAN_H_
extern void scanWiFiWithOSDOut();
extern void scanBTWithOSDOut();
#endif
+2 -2
View File
@@ -146,10 +146,10 @@ class DFRobot_OSD
/**
* @fn DFRobot_OSD
* @brief Constructor
* @param CS - CS selection pin
* @param OSD_CS - CS selection pin
* @return None
*/
DFRobot_OSD(int CS);
DFRobot_OSD(int OSD_CS);
~DFRobot_OSD();
/**
+6
View File
@@ -0,0 +1,6 @@
#ifndef _OSD_H_
#define _OSD_H_
extern void osd_spectrum();
extern void osdPrintSignalLevelChart(int col, int signal_value);
extern unsigned short selectFreqChar(int bin, int start_level = 0);
#endif
+2
View File
@@ -13,6 +13,8 @@
#define MINOR_TICKS 5
#define ONE_MILLISEC 1
#define ONE_SEC 1000
#define ONE_MINUTE 60 * 1000
// Prints debug information and the scan measurement bins from the SX1262 in
// hex Change spectrum plot values at once or by line