Skip to content

Commit f2d9f72

Browse files
mfalkviddtekka007
authored andcommitted
Fix spelling mistakes (#1104)
1 parent bb80732 commit f2d9f72

File tree

24 files changed

+61
-61
lines changed

24 files changed

+61
-61
lines changed

drivers/NRF5/Radio_ESB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ extern "C" {
637637
(NRF_RADIO->STATE == RADIO_STATE_STATE_RxDisable) or
638638
(NRF_RADIO->STATE == RADIO_STATE_STATE_TxRu)) {
639639
if (NRF_RADIO->CRCSTATUS) {
640-
// Ensure no ACK package is recieved
640+
// Ensure no ACK package is received
641641
if (NRF_RADIO->RXMATCH != NRF5_ESB_TX_ADDR) {
642642
// calculate a package id
643643
uint32_t pkgid = rx_buffer.pid << 16 | NRF_RADIO->RXCRC;

examples/AirQualitySensor/AirQualitySensor.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353
//which is derived from the chart in datasheet
5454
/***********************Software Related Macros************************************/
5555
#define CALIBARAION_SAMPLE_TIMES (50) //define how many samples you are going to take in the calibration phase
56-
#define CALIBRATION_SAMPLE_INTERVAL (500) //define the time interal(in milisecond) between each samples in the
57-
//cablibration phase
56+
#define CALIBRATION_SAMPLE_INTERVAL (500) //define the time interval(in milliseconds) between each samples in the
57+
//calibration phase
5858
#define READ_SAMPLE_INTERVAL (50) //define how many samples you are going to take in normal operation
59-
#define READ_SAMPLE_TIMES (5) //define the time interal(in milisecond) between each samples in
59+
#define READ_SAMPLE_TIMES (5) //define the time interval(in milliseconds) between each samples in
6060
//normal operation
6161
/**********************Application Related Macros**********************************/
6262
#define GAS_LPG (0)
@@ -165,8 +165,8 @@ float MQCalibration(int mq_pin)
165165
/***************************** MQRead *********************************************
166166
Input: mq_pin - analog channel
167167
Output: Rs of the sensor
168-
Remarks: This function use MQResistanceCalculation to caculate the sensor resistenc (Rs).
169-
The Rs changes as the sensor is in the different consentration of the target
168+
Remarks: This function use MQResistanceCalculation to calculate the sensor resistance (Rs).
169+
The Rs changes as the sensor is in the different concentration of the target
170170
gas. The sample times and the time interval between samples could be configured
171171
by changing the definition of the macros.
172172
************************************************************************************/

examples/BinarySwitchSleepSensor/BinarySwitchSleepSensor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Interrupt driven binary switch example with dual interrupts
2424
* Author: Patrick 'Anticimex' Fallberg
2525
* Connect one button or door/window reed switch between
26-
* digitial I/O pin 3 (BUTTON_PIN below) and GND and the other
26+
* digital I/O pin 3 (BUTTON_PIN below) and GND and the other
2727
* one in similar fashion on digital I/O pin 2.
2828
* This example is designed to fit Arduino Nano/Pro Mini
2929
*

examples/CO2Sensor/CO2Sensor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Pad 6: PWM output ==> pin 6
2929
*
3030
* From: http://davidegironi.blogspot.fr/2014/01/co2-meter-using-ndir-infrared-mh-z14.html
31-
* MH-Z14 has a PWM output, with a sensitivity range of 0ppm to 2000ppm CO2, an accurancy of ±200ppm.
31+
* MH-Z14 has a PWM output, with a sensitivity range of 0ppm to 2000ppm CO2, an accuracy of ±200ppm.
3232
* The cycle is 1004ms±5%, given the duty cicle Th (pulse high), Tl is 1004-Th, we can convert it to CO2 value using the formula:
3333
* CO2ppm = 2000 * (Th - 2ms) /(Th + Tl - 4ms)
3434
* From: http://airqualityegg.wikispaces.com/Sensor+Tests

examples/DimmableLEDActuator/DimmableLEDActuator.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ MyMessage lightMsg(0, V_LIGHT);
6262
*/
6363
void setup()
6464
{
65-
// Pull the gateway's current dim level - restore light level upon sendor node power-up
65+
// Pull the gateway's current dim level - restore light level upon node power-up
6666
request( 0, V_DIMMER );
6767
}
6868

examples/DimmableLight/DimmableLight.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#define LIGHT_OFF 0
4949
#define LIGHT_ON 1
5050

51-
#define SN "Dimable Light"
51+
#define SN "Dimmable Light"
5252
#define SV "1.0"
5353

5454
int16_t LastLightState=LIGHT_OFF;
@@ -70,7 +70,7 @@ void setup()
7070
}
7171
}
7272

73-
//Here you actualy switch on/off the light with the last known dim level
73+
//Here you actually switch on/off the light with the last known dim level
7474
SetCurrentState2Hardware();
7575

7676
Serial.println( "Node ready to receive messages..." );

examples/DustSensor/DustSensor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void loop()
8383
// recover voltage
8484
calcVoltage = voMeasured * (5.0 / 1024.0);
8585

86-
// linear eqaution taken from http://www.howmuchsnow.com/arduino/airquality/
86+
// linear equation taken from http://www.howmuchsnow.com/arduino/airquality/
8787
// Chris Nafis (c) 2012
8888
dustDensity = (0.17 * calcVoltage - 0.1)*1000;
8989

examples/EnergyMeterPulseSensor/EnergyMeterPulseSensor.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@
4646
#include <MySensors.h>
4747

4848
#define DIGITAL_INPUT_SENSOR 3 // The digital input you attached your light sensor. (Only 2 and 3 generates interrupt!)
49-
#define PULSE_FACTOR 1000 // Nummber of blinks per KWH of your meeter
49+
#define PULSE_FACTOR 1000 // Number of blinks per KWH of your meeter
5050
#define SLEEP_MODE false // Watt-value can only be reported when sleep mode is false.
51-
#define MAX_WATT 10000 // Max watt value to report. This filetrs outliers.
51+
#define MAX_WATT 10000 // Max watt value to report. This filters outliers.
5252
#define CHILD_ID 1 // Id of the sensor child
5353

5454
uint32_t SEND_FREQUENCY =
55-
20000; // Minimum time between send (in milliseconds). We don't wnat to spam the gateway.
55+
20000; // Minimum time between send (in milliseconds). We don't want to spam the gateway.
5656
double ppwh = ((double)PULSE_FACTOR)/1000; // Pulses per watt hour
5757
bool pcReceived = false;
5858
volatile uint32_t pulseCount = 0;
@@ -97,8 +97,8 @@ void loop()
9797
if (pcReceived && (SLEEP_MODE || sendTime)) {
9898
// New watt value has been calculated
9999
if (!SLEEP_MODE && watt != oldWatt) {
100-
// Check that we dont get unresonable large watt value.
101-
// could hapen when long wraps or false interrupt triggered
100+
// Check that we don't get unreasonable large watt value.
101+
// could happen when long wraps or false interrupt triggered
102102
if (watt<((uint32_t)MAX_WATT)) {
103103
send(wattMsg.set(watt)); // Send watt value to gw
104104
}
@@ -151,4 +151,4 @@ void onPulse()
151151
lastBlink = newBlink;
152152
}
153153
pulseCount++;
154-
}
154+
}

examples/GatewayESP8266/GatewayESP8266.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
* LED purposes:
3636
* - To use the feature, uncomment any of the MY_DEFAULT_xx_LED_PINs in your sketch, only the LEDs that is defined is used.
37-
* - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation received
37+
* - RX (green) - blink fast on radio message received. In inclusion mode will blink fast only on presentation received
3838
* - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
3939
* - ERR (red) - fast blink on error during transmission error or receive crc error
4040
*

examples/GatewayESP8266MQTTClient/GatewayESP8266MQTTClient.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* LED purposes:
2929
* - To use the feature, uncomment any of the MY_DEFAULT_xx_LED_PINs in your sketch
30-
* - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation received
30+
* - RX (green) - blink fast on radio message received. In inclusion mode will blink fast only on presentation received
3131
* - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
3232
* - ERR (red) - fast blink on error during transmission error or receive crc error
3333
*

0 commit comments

Comments
 (0)