diff --git a/examples/AFSK/AFSK_Imperial_March/melody.h b/examples/AFSK/AFSK_Imperial_March/melody.h index e4b15169..2f70f129 100644 --- a/examples/AFSK/AFSK_Imperial_March/melody.h +++ b/examples/AFSK/AFSK_Imperial_March/melody.h @@ -95,16 +95,16 @@ #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!! int melody[] = { - - // Darth Vader theme (Imperial March) - Star wars + + // Darth Vader theme (Imperial March) - Star wars // Score available at https://musescore.com/user/202909/scores/1141521 // The tenor saxophone part was used - + NOTE_A4,-4, NOTE_A4,-4, NOTE_A4,16, NOTE_A4,16, NOTE_A4,16, NOTE_A4,16, NOTE_F4,8, REST,8, NOTE_A4,-4, NOTE_A4,-4, NOTE_A4,16, NOTE_A4,16, NOTE_A4,16, NOTE_A4,16, NOTE_F4,8, REST,8, NOTE_A4,4, NOTE_A4,4, NOTE_A4,4, NOTE_F4,-8, NOTE_C5,16, @@ -112,17 +112,17 @@ int melody[] = { NOTE_A4,4, NOTE_F4,-8, NOTE_C5,16, NOTE_A4,2,//4 NOTE_E5,4, NOTE_E5,4, NOTE_E5,4, NOTE_F5,-8, NOTE_C5,16, NOTE_A4,4, NOTE_F4,-8, NOTE_C5,16, NOTE_A4,2, - - NOTE_A5,4, NOTE_A4,-8, NOTE_A4,16, NOTE_A5,4, NOTE_GS5,-8, NOTE_G5,16, //7 + + NOTE_A5,4, NOTE_A4,-8, NOTE_A4,16, NOTE_A5,4, NOTE_GS5,-8, NOTE_G5,16, //7 NOTE_DS5,16, NOTE_D5,16, NOTE_DS5,8, REST,8, NOTE_A4,8, NOTE_DS5,4, NOTE_D5,-8, NOTE_CS5,16, NOTE_C5,16, NOTE_B4,16, NOTE_C5,16, REST,8, NOTE_F4,8, NOTE_GS4,4, NOTE_F4,-8, NOTE_A4,-16,//9 NOTE_C5,4, NOTE_A4,-8, NOTE_C5,16, NOTE_E5,2, - NOTE_A5,4, NOTE_A4,-8, NOTE_A4,16, NOTE_A5,4, NOTE_GS5,-8, NOTE_G5,16, //7 + NOTE_A5,4, NOTE_A4,-8, NOTE_A4,16, NOTE_A5,4, NOTE_GS5,-8, NOTE_G5,16, //7 NOTE_DS5,16, NOTE_D5,16, NOTE_DS5,8, REST,8, NOTE_A4,8, NOTE_DS5,4, NOTE_D5,-8, NOTE_CS5,16, NOTE_C5,16, NOTE_B4,16, NOTE_C5,16, REST,8, NOTE_F4,8, NOTE_GS4,4, NOTE_F4,-8, NOTE_A4,-16,//9 NOTE_A4,4, NOTE_F4,-8, NOTE_C5,16, NOTE_A4,2, - + }; diff --git a/examples/APRS/APRS_MicE/APRS_MicE.ino b/examples/APRS/APRS_MicE/APRS_MicE.ino index 9ddd2287..9d8061cb 100644 --- a/examples/APRS/APRS_MicE/APRS_MicE.ino +++ b/examples/APRS/APRS_MicE/APRS_MicE.ino @@ -1,7 +1,7 @@ /* RadioLib APRS Mic-E Example - This example sends APRS position reports + This example sends APRS position reports encoded in the Mic-E format using SX1278's FSK modem. The data is modulated as AFSK at 1200 baud using Bell 202 tones. @@ -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() { diff --git a/examples/APRS/APRS_Position/APRS_Position.ino b/examples/APRS/APRS_Position/APRS_Position.ino index 1fa8ca9e..2478d64b 100644 --- a/examples/APRS/APRS_Position/APRS_Position.ino +++ b/examples/APRS/APRS_Position/APRS_Position.ino @@ -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() { diff --git a/examples/Pager/Pager_Receive/Pager_Receive.ino b/examples/Pager/Pager_Receive/Pager_Receive.ino index 8497a9ae..3daec5b0 100644 --- a/examples/Pager/Pager_Receive/Pager_Receive.ino +++ b/examples/Pager/Pager_Receive/Pager_Receive.ino @@ -51,7 +51,7 @@ void setup() { // when using one of the non-LoRa modules // (RF69, CC1101, Si4432 etc.), use the basic begin() method // int state = radio.begin(); - + if (state == RADIOLIB_ERR_NONE) { Serial.println(F("success!")); } else { @@ -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 @@ -84,7 +84,7 @@ void setup() { Serial.println(state); while (true); } - + } void loop() { @@ -110,12 +110,12 @@ void loop() { // print the received data Serial.print(F("[Pager] Data:\t")); Serial.println(str); - + } else { // some error occurred Serial.print(F("failed, code ")); Serial.println(state); - + } } } diff --git a/examples/Pager/Pager_Transmit/Pager_Transmit.ino b/examples/Pager/Pager_Transmit/Pager_Transmit.ino index 0b3dae58..c9c3ad1c 100644 --- a/examples/Pager/Pager_Transmit/Pager_Transmit.ino +++ b/examples/Pager/Pager_Transmit/Pager_Transmit.ino @@ -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 diff --git a/examples/SX126x/SX126x_PingPong/SX126x_PingPong.ino b/examples/SX126x/SX126x_PingPong/SX126x_PingPong.ino index ff386c36..e3ed4e96 100644 --- a/examples/SX126x/SX126x_PingPong/SX126x_PingPong.ino +++ b/examples/SX126x/SX126x_PingPong/SX126x_PingPong.ino @@ -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; } diff --git a/examples/SX127x/SX127x_FSK_Modem/SX127x_FSK_Modem.ino b/examples/SX127x/SX127x_FSK_Modem/SX127x_FSK_Modem.ino index caf4fe4a..aa2b2127 100644 --- a/examples/SX127x/SX127x_FSK_Modem/SX127x_FSK_Modem.ino +++ b/examples/SX127x/SX127x_FSK_Modem/SX127x_FSK_Modem.ino @@ -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); diff --git a/examples/SX127x/SX127x_Receive_FHSS/SX127x_Receive_FHSS.ino b/examples/SX127x/SX127x_Receive_FHSS/SX127x_Receive_FHSS.ino index 3aeca4a8..957b7d88 100644 --- a/examples/SX127x/SX127x_Receive_FHSS/SX127x_Receive_FHSS.ino +++ b/examples/SX127x/SX127x_Receive_FHSS/SX127x_Receive_FHSS.ino @@ -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 diff --git a/examples/SX127x/SX127x_Transmit_FHSS/SX127x_Transmit_FHSS.ino b/examples/SX127x/SX127x_Transmit_FHSS/SX127x_Transmit_FHSS.ino index 6139ad36..faef426b 100644 --- a/examples/SX127x/SX127x_Transmit_FHSS/SX127x_Transmit_FHSS.ino +++ b/examples/SX127x/SX127x_Transmit_FHSS/SX127x_Transmit_FHSS.ino @@ -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 diff --git a/examples/SX128x/SX128x_BLE_Modem/SX128x_BLE_Modem.ino b/examples/SX128x/SX128x_BLE_Modem/SX128x_BLE_Modem.ino index 3d9f5abd..5b7a1ffd 100644 --- a/examples/SX128x/SX128x_BLE_Modem/SX128x_BLE_Modem.ino +++ b/examples/SX128x/SX128x_BLE_Modem/SX128x_BLE_Modem.ino @@ -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() {