Fixed some typos

This commit is contained in:
jgromes 2022-10-28 21:03:20 +02:00
parent 1227ea4cd1
commit c9e11d4f37
10 changed files with 23 additions and 23 deletions

View file

@ -95,7 +95,7 @@
#define NOTE_DS8 4978 #define NOTE_DS8 4978
#define REST 0 #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 // a 4 means a quarter note, 8 an eighteenth , 16 sixteenth, so on
// !!negative numbers are used to represent dotted notes, // !!negative numbers are used to represent dotted notes,
// so -4 means a dotted quarter note, that is, a quarter plus an eighteenth!! // so -4 means a dotted quarter note, that is, a quarter plus an eighteenth!!

View file

@ -45,7 +45,7 @@ AFSKClient audio(&radio, 5);
// create AX.25 client instance using the AFSK instance // create AX.25 client instance using the AFSK instance
AX25Client ax25(&audio); AX25Client ax25(&audio);
// create APRS client isntance using the AX.25 client // create APRS client instance using the AX.25 client
APRSClient aprs(&ax25); APRSClient aprs(&ax25);
void setup() { void setup() {

View file

@ -45,7 +45,7 @@ AFSKClient audio(&radio, 5);
// create AX.25 client instance using the AFSK instance // create AX.25 client instance using the AFSK instance
AX25Client ax25(&audio); AX25Client ax25(&audio);
// create APRS client isntance using the AX.25 client // create APRS client instance using the AX.25 client
APRSClient aprs(&ax25); APRSClient aprs(&ax25);
void setup() { void setup() {

View file

@ -60,7 +60,7 @@ void setup() {
while (true); while (true);
} }
// initalize Pager client // initialize Pager client
Serial.print(F("[Pager] Initializing ... ")); Serial.print(F("[Pager] Initializing ... "));
// base (center) frequency: 434.0 MHz // base (center) frequency: 434.0 MHz
// speed: 1200 bps // speed: 1200 bps

View file

@ -57,7 +57,7 @@ void setup() {
while(true); while(true);
} }
// initalize Pager client // initialize Pager client
Serial.print(F("[Pager] Initializing ... ")); Serial.print(F("[Pager] Initializing ... "));
// base (center) frequency: 434.0 MHz // base (center) frequency: 434.0 MHz
// speed: 1200 bps // speed: 1200 bps

View file

@ -51,7 +51,7 @@ void setFlag(void) {
return; return;
} }
// we sent aor received packet, set the flag // we sent or received a packet, set the flag
operationDone = true; operationDone = true;
} }

View file

@ -28,7 +28,7 @@ SX1278 radio = new Module(10, 2, 9, 3);
// or using RadioShield // or using RadioShield
// https://github.com/jgromes/RadioShield // https://github.com/jgromes/RadioShield
//SX1278 fsk = RadioShield.ModuleA; //SX1278 radio = RadioShield.ModuleA;
void setup() { void setup() {
Serial.begin(9600); Serial.begin(9600);
@ -177,7 +177,7 @@ void loop() {
// transmit FM tone at 1000 Hz for 1 second, then 500 Hz for 1 second // transmit FM tone at 1000 Hz for 1 second, then 500 Hz for 1 second
// (DIO2 is connected to Arduino pin 4) // (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 // on these platforms, the following will do nothing
#if !defined(RADIOLIB_TONE_UNSUPPORTED) #if !defined(RADIOLIB_TONE_UNSUPPORTED)
tone(4, 1000); tone(4, 1000);

View file

@ -98,7 +98,7 @@ void setup() {
// set the function to call when reception is finished // set the function to call when reception is finished
radio.setDio0Action(setRxFlag); 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); radio.setDio1Action(setFHSSFlag);
// start listening for LoRa packets // start listening for LoRa packets

View file

@ -110,7 +110,7 @@ void setup() {
// set the function to call when transmission is finished // set the function to call when transmission is finished
radio.setDio0Action(setTxFlag); 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); radio.setDio1Action(setFHSSFlag);
// start transmitting the first packet // start transmitting the first packet

View file

@ -65,7 +65,7 @@ void setup() {
while (true); 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() { void loop() {