Fixed some typos
This commit is contained in:
parent
1227ea4cd1
commit
c9e11d4f37
10 changed files with 23 additions and 23 deletions
examples
AFSK/AFSK_Imperial_March
APRS
Pager
SX126x/SX126x_PingPong
SX127x
SX127x_FSK_Modem
SX127x_Receive_FHSS
SX127x_Transmit_FHSS
SX128x/SX128x_BLE_Modem
|
@ -95,7 +95,7 @@
|
|||
#define NOTE_DS8 4978
|
||||
#define REST 0
|
||||
|
||||
// notes of the moledy followed by the duration.
|
||||
// notes of the melody followed by the duration.
|
||||
// a 4 means a quarter note, 8 an eighteenth , 16 sixteenth, so on
|
||||
// !!negative numbers are used to represent dotted notes,
|
||||
// so -4 means a dotted quarter note, that is, a quarter plus an eighteenth!!
|
||||
|
|
|
@ -45,7 +45,7 @@ AFSKClient audio(&radio, 5);
|
|||
// create AX.25 client instance using the AFSK instance
|
||||
AX25Client ax25(&audio);
|
||||
|
||||
// create APRS client isntance using the AX.25 client
|
||||
// create APRS client instance using the AX.25 client
|
||||
APRSClient aprs(&ax25);
|
||||
|
||||
void setup() {
|
||||
|
|
|
@ -45,7 +45,7 @@ AFSKClient audio(&radio, 5);
|
|||
// create AX.25 client instance using the AFSK instance
|
||||
AX25Client ax25(&audio);
|
||||
|
||||
// create APRS client isntance using the AX.25 client
|
||||
// create APRS client instance using the AX.25 client
|
||||
APRSClient aprs(&ax25);
|
||||
|
||||
void setup() {
|
||||
|
|
|
@ -60,7 +60,7 @@ void setup() {
|
|||
while (true);
|
||||
}
|
||||
|
||||
// initalize Pager client
|
||||
// initialize Pager client
|
||||
Serial.print(F("[Pager] Initializing ... "));
|
||||
// base (center) frequency: 434.0 MHz
|
||||
// speed: 1200 bps
|
||||
|
|
|
@ -57,7 +57,7 @@ void setup() {
|
|||
while(true);
|
||||
}
|
||||
|
||||
// initalize Pager client
|
||||
// initialize Pager client
|
||||
Serial.print(F("[Pager] Initializing ... "));
|
||||
// base (center) frequency: 434.0 MHz
|
||||
// speed: 1200 bps
|
||||
|
|
|
@ -51,7 +51,7 @@ void setFlag(void) {
|
|||
return;
|
||||
}
|
||||
|
||||
// we sent aor received packet, set the flag
|
||||
// we sent or received a packet, set the flag
|
||||
operationDone = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ SX1278 radio = new Module(10, 2, 9, 3);
|
|||
|
||||
// or using RadioShield
|
||||
// https://github.com/jgromes/RadioShield
|
||||
//SX1278 fsk = RadioShield.ModuleA;
|
||||
//SX1278 radio = RadioShield.ModuleA;
|
||||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
|
@ -177,7 +177,7 @@ void loop() {
|
|||
|
||||
// transmit FM tone at 1000 Hz for 1 second, then 500 Hz for 1 second
|
||||
// (DIO2 is connected to Arduino pin 4)
|
||||
// Note: tone() function is not available on ESP32, Arduino Due and CubeCell
|
||||
// Note: tone() function is not available on Arduino Due and CubeCell
|
||||
// on these platforms, the following will do nothing
|
||||
#if !defined(RADIOLIB_TONE_UNSUPPORTED)
|
||||
tone(4, 1000);
|
||||
|
|
|
@ -98,7 +98,7 @@ void setup() {
|
|||
// set the function to call when reception is finished
|
||||
radio.setDio0Action(setRxFlag);
|
||||
|
||||
// set the function to call when we need to hcange frequency
|
||||
// set the function to call when we need to change frequency
|
||||
radio.setDio1Action(setFHSSFlag);
|
||||
|
||||
// start listening for LoRa packets
|
||||
|
|
|
@ -110,7 +110,7 @@ void setup() {
|
|||
// set the function to call when transmission is finished
|
||||
radio.setDio0Action(setTxFlag);
|
||||
|
||||
// set the function to call when we need to hcange frequency
|
||||
// set the function to call when we need to change frequency
|
||||
radio.setDio1Action(setFHSSFlag);
|
||||
|
||||
// start transmitting the first packet
|
||||
|
|
|
@ -65,7 +65,7 @@ void setup() {
|
|||
while (true);
|
||||
}
|
||||
|
||||
#warning "This sketch is just an API guide! Read the note at line 6."
|
||||
#warning "This sketch is just an API guide! Read the note at line 8."
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
|
Loading…
Add table
Reference in a new issue