From cfd83e1966ea37c88997b0a87ec666a9cc720aa0 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 11 Mar 2023 19:27:55 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=2026584?= =?UTF-8?q?7b82dbda7db6f5a16e1f7680e387e441fff=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _radio_lib_8h_source.html | 77 +++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 39 deletions(-) diff --git a/_radio_lib_8h_source.html b/_radio_lib_8h_source.html index 6284d9f8..334299bf 100644 --- a/_radio_lib_8h_source.html +++ b/_radio_lib_8h_source.html @@ -152,45 +152,44 @@ $(document).ready(function(){initNavTree('_radio_lib_8h_source.html',''); initRe
98 #include "protocols/Pager/Pager.h"
99 #include "protocols/RTTY/RTTY.h"
100 #include "protocols/SSTV/SSTV.h"
-
101 #include "protocols/SSDV/SSDV.h"
-
102 #include "protocols/FSK4/FSK4.h"
-
103 #include "protocols/APRS/APRS.h"
-
104 #include "protocols/ExternalRadio/ExternalRadio.h"
-
105 
-
106 // only create Radio class when using RadioShield
-
107 #if defined(RADIOLIB_RADIOSHIELD)
-
108 
-
109 // RadioShield pin definitions
-
110 #define RADIOSHIELD_CS_A 10
-
111 #define RADIOSHIELD_IRQ_A 2
-
112 #define RADIOSHIELD_RST_A 9
-
113 #define RADIOSHIELD_GPIO_A 8
-
114 #define RADIOSHIELD_CS_B 5
-
115 #define RADIOSHIELD_IRQ_B 3
-
116 #define RADIOSHIELD_RST_B 7
-
117 #define RADIOSHIELD_GPIO_B 6
-
118 
-
125 class Radio {
-
126  public:
-
127 
-
128  Module* ModuleA;
-
129  Module* ModuleB;
-
130 
-
134  Radio() {
-
135  ModuleA = new Module(RADIOSHIELD_CS_A, RADIOSHIELD_IRQ_A, RADIOSHIELD_RST_A, RADIOSHIELD_GPIO_A);
-
136  ModuleB = new Module(RADIOSHIELD_CS_B, RADIOSHIELD_IRQ_B, RADIOSHIELD_RST_B, RADIOSHIELD_GPIO_B);
-
137  }
-
138 
-
139 #if defined(RADIOLIB_GODMODE)
-
140  private:
-
141 #endif
-
142 
-
143 };
-
144 
-
145 Radio RadioShield;
-
146 #endif
-
147 
-
148 #endif
+
101 #include "protocols/FSK4/FSK4.h"
+
102 #include "protocols/APRS/APRS.h"
+
103 #include "protocols/ExternalRadio/ExternalRadio.h"
+
104 
+
105 // only create Radio class when using RadioShield
+
106 #if defined(RADIOLIB_RADIOSHIELD)
+
107 
+
108 // RadioShield pin definitions
+
109 #define RADIOSHIELD_CS_A 10
+
110 #define RADIOSHIELD_IRQ_A 2
+
111 #define RADIOSHIELD_RST_A 9
+
112 #define RADIOSHIELD_GPIO_A 8
+
113 #define RADIOSHIELD_CS_B 5
+
114 #define RADIOSHIELD_IRQ_B 3
+
115 #define RADIOSHIELD_RST_B 7
+
116 #define RADIOSHIELD_GPIO_B 6
+
117 
+
124 class Radio {
+
125  public:
+
126 
+
127  Module* ModuleA;
+
128  Module* ModuleB;
+
129 
+
133  Radio() {
+
134  ModuleA = new Module(RADIOSHIELD_CS_A, RADIOSHIELD_IRQ_A, RADIOSHIELD_RST_A, RADIOSHIELD_GPIO_A);
+
135  ModuleB = new Module(RADIOSHIELD_CS_B, RADIOSHIELD_IRQ_B, RADIOSHIELD_RST_B, RADIOSHIELD_GPIO_B);
+
136  }
+
137 
+
138 #if defined(RADIOLIB_GODMODE)
+
139  private:
+
140 #endif
+
141 
+
142 };
+
143 
+
144 Radio RadioShield;
+
145 #endif
+
146 
+
147 #endif
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:24