Skip to content

Commit f2fd284

Browse files
authored
Fix typos (#984)
* fix: typos in AsciiDoc_sample * fix: typo in Serial Directory * fix: typo in Wire directory * fix: typos in Communication directory * fix: typo in mouseMove.adoc * fix: typo in switchCase.adoc file * fix: typo in array.adoc file * fix: typo in LICENSE file MERCHANTIBILITY -> MERCHANTABILITY
1 parent 17d3f40 commit f2fd284

File tree

12 files changed

+17
-17
lines changed

12 files changed

+17
-17
lines changed

Diff for: AsciiDoc_sample/Reference_Terms/AsciiDoc_Template-Parent_Of_Entities.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ http://arduino.cc[serialEvent()]
8585

8686
[role="language"]
8787
// Whenever you want to link to another Reference term, or more in general to a relative link,
88-
// use the syntax shown below. Please note that the file format is subsituted by attribute.
88+
// use the syntax shown below. Please note that the file format is substituted by attribute.
8989
// Please note that you always need to replace spaces that you might find in folder/file names with %20
9090
// The entire link to Reference pages must be lower case, regardless of the case of the folders and files in this repository.
9191
* #LANGUAGE# link:../AsciiDoc_Template-Single_Entity[Single Entity]

Diff for: AsciiDoc_sample/Reference_Terms/AsciiDoc_Template-Single_Entity.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ image::http://arduino.cc/en/uploads/Main/ArduinoUno_R3_Front_450px.jpg[caption="
110110

111111
[role="language"]
112112
// Whenever you want to link to another Reference term, or more in general to a relative link,
113-
// use the syntax shown below. Please note that the file format is subsituted by attribute.
113+
// use the syntax shown below. Please note that the file format is substituted by attribute.
114114
// Please note that you always need to replace spaces that you might find in folder/file names with %20
115115
// The entire link to Reference pages must be lower case, regardless of the case of the folders and files in this repository.
116116
// For language tag, items will be automatically generated for any other item of the same subcategory,

Diff for: LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ subject to and limited by the following restrictions:
264264
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
265265
OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
266266
KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
267-
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
267+
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTABILITY,
268268
FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
269269
LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
270270
WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION

Diff for: Language/Functions/Communication/Print.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ subCategories: [ "Communication" ]
1818
=== Description
1919
The Print class is an abstract base class that provides a common interface for printing data to different output devices. It defines several methods that allow printing data in different formats.
2020

21-
Print class is related to several libraries in Arduino that use the printing funcionality to interact with devices such as Serial Monitor, LCD Screen, printers, etc.
21+
Print class is related to several libraries in Arduino that use the printing functionality to interact with devices such as Serial Monitor, LCD Screen, printers, etc.
2222

2323
Some of the libraries that use the Print class are:
2424

@@ -58,4 +58,4 @@ link:https://www.arduino.cc/reference/en/language/functions/communication/serial
5858
=== See also
5959

6060
--
61-
// SEE ALSO SECTION ENDS
61+
// SEE ALSO SECTION ENDS

Diff for: Language/Functions/Communication/SPI.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To read more about Arduino and SPI, you can visit the https://docs.arduino.cc/le
3131
[#howtouse]
3232
--
3333
|================================================================================================================================================
34-
| Boards | Default SPI Pins | Additonal SPI Pins | Notes
34+
| Boards | Default SPI Pins | Additional SPI Pins | Notes
3535
| UNO R3, UNO R3 SMD, UNO WiFi Rev2, UNO Mini Ltd| 10(CS), 11(COPI), 12(CIPO), 13(SCK) | | SPI pins available on ICSP header
3636
| UNO R4 Minima, UNO R4 WiFi| 10(CS), 11(COPI), 12(CIPO), 13(SCK) | | SPI pins available on ICSP header
3737
| Leonardo, Yún Rev2, Zero| 10(CS), 11(COPI), 12(CIPO), 13(SCK) | | SPI pins available on ICSP header

Diff for: Language/Functions/Communication/Serial/print.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void loop() {
100100
for (int x = 0; x < 64; x++) { // only part of the ASCII chart, change to suit
101101
// print it out in many formats:
102102
Serial.print(x); // print as an ASCII-encoded decimal - same as "DEC"
103-
Serial.print("\t\t"); // prints two tabs to accomodate the label length
103+
Serial.print("\t\t"); // prints two tabs to accommodate the label length
104104
105105
Serial.print(x, DEC); // print as an ASCII-encoded decimal
106106
Serial.print("\t"); // prints a tab

Diff for: Language/Functions/Communication/Wire.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ subCategories: [ "Communication" ]
1616
=== Description
1717

1818

19-
This library allows you to communicate with I2C devices, a feature that is present on all Arduino boards. I2C is a very common protocol, primarly used for reading/sending data to/from external I2C components. To learn more, visit link:https://docs.arduino.cc/learn/communication/wire[this article for Arduino & I2C].
19+
This library allows you to communicate with I2C devices, a feature that is present on all Arduino boards. I2C is a very common protocol, primarily used for reading/sending data to/from external I2C components. To learn more, visit link:https://docs.arduino.cc/learn/communication/wire[this article for Arduino & I2C].
2020

2121
Due to the hardware design and various architectural differences, the I2C pins are located in different places. The pin map just below highlights the default pins, as well as additional ports available on certain boards.
2222

Diff for: Language/Functions/Communication/Wire/getWireTimeoutFlag.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: getWireTimeoutFlag()
1010
[float]
1111
=== Description
1212

13-
Checks whether a timeout has occured since the last time the flag was cleared.
13+
Checks whether a timeout has occurred since the last time the flag was cleared.
1414

1515
This flag is set is set whenever a timeout occurs and cleared when `Wire.clearWireTimeoutFlag()` is called, or when the timeout is changed using `Wire.setWireTimeout()`.
1616

@@ -34,4 +34,4 @@ This function was not available in the original version of the Wire library and
3434

3535
--
3636

37-
//OVERVIEW SECTION ENDS
37+
//OVERVIEW SECTION ENDS

Diff for: Language/Functions/Communication/Wire/setWireTimeout.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void loop() {
5353
Wire.write(123); // send command
5454
byte error = Wire.endTransmission(); // run transaction
5555
if (error) {
56-
Serial.println("Error occured when writing");
56+
Serial.println("Error occurred when writing");
5757
if (error == 5)
5858
Serial.println("It was a timeout");
5959
}
@@ -66,7 +66,7 @@ void loop() {
6666
#endif
6767
byte len = Wire.requestFrom(8, 1); // request 1 byte from device #8
6868
if (len == 0) {
69-
Serial.println("Error occured when reading");
69+
Serial.println("Error occurred when reading");
7070
#if defined(WIRE_HAS_TIMEOUT)
7171
if (Wire.getWireTimeoutFlag())
7272
Serial.println("It was a timeout");
@@ -88,7 +88,7 @@ If `reset_on_timeout` was set to true and the platform supports this, the Wire h
8888

8989
When a timeout is triggered, a flag is set that can be queried with `getWireTimeoutFlag()` and must be cleared manually using `clearWireTimeoutFlag()` (and is also cleared when `setWireTimeout()` is called).
9090

91-
Note that this timeout can also trigger while waiting for clock stretching or waiting for a second master to complete its transaction. So make sure to adapt the timeout to accomodate for those cases if needed. A typical timeout would be 25ms (which is the maximum clock stretching allowed by the SMBus protocol), but (much) shorter values will usually also work.
91+
Note that this timeout can also trigger while waiting for clock stretching or waiting for a second master to complete its transaction. So make sure to adapt the timeout to accommodate for those cases if needed. A typical timeout would be 25ms (which is the maximum clock stretching allowed by the SMBus protocol), but (much) shorter values will usually also work.
9292

9393

9494
[float]
@@ -102,4 +102,4 @@ If you require the timeout to be disabled, it is recommended you disable it by d
102102

103103
--
104104

105-
//OVERVIEW SECTION ENDS
105+
//OVERVIEW SECTION ENDS

Diff for: Language/Functions/USB/Mouse/mouseMove.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ int readAxis(int axisNumber) {
110110
}
111111
112112
// the Y axis needs to be inverted in order to
113-
// map the movemment correctly:
113+
// map the movement correctly:
114114
if (axisNumber == 1) {
115115
distance = -distance;
116116
}

Diff for: Language/Structure/Control Structure/switchCase.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ switch (var) {
9292

9393

9494

95-
// SEE ALSO SECTIN BEGINS
95+
// SEE ALSO SECTION BEGINS
9696
[#see_also]
9797
--
9898

Diff for: Language/Variables/Data Types/array.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ All of the methods below are valid ways to create (declare) an array.
2222
// Declare an array of a given length without initializing the values:
2323
int myInts[6];
2424
25-
// Declare an array without explicitely choosing a size (the compiler
25+
// Declare an array without explicitly choosing a size (the compiler
2626
// counts the elements and creates an array of the appropriate size):
2727
int myPins[] = {2, 4, 8, 3, 6, 4};
2828

0 commit comments

Comments
 (0)