Skip to content

Commit 2307327

Browse files
committed
Trim trailing whitespace
1 parent 674a92e commit 2307327

28 files changed

+35
-35
lines changed

AsciiDoc_sample/AsciiDoc_Dictionary/AsciiDoc_Template-Dictionary.adoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// This is a documentation file for authors and editors of the Arduino Manutius content platform.
55
// Below you can find a list of all the possible page elements with the corresponding
6-
// AsciiDoc syntax
6+
// AsciiDoc syntax
77

88

99
// GENERAL GUIDELINES
@@ -99,10 +99,10 @@ mailto:[email protected][This is an e-mail link]
9999
This is `code` in a sentence +
100100
`This is a whole line of code` +
101101

102-
// HINT: Please note that sometimes when copy-pasting code a few spaces can be added at the beginnng of each line of code.
102+
// HINT: Please note that sometimes when copy-pasting code a few spaces can be added at the beginnng of each line of code.
103103
// If that happens, please remove the extra spaces. Thanks!
104104

105-
This can be a lot more code
105+
This can be a lot more code
106106
[source,arduino]
107107
----
108108
for (int 1; i<=99; i++) {
@@ -115,7 +115,7 @@ for (int 1; i<=99; i++) {
115115

116116
// TABLES
117117
|===
118-
|Name of Column 1 |Name of Column 2 |Name of Column 3
118+
|Name of Column 1 |Name of Column 2 |Name of Column 3
119119

120120
|Cell in column 1, row 1
121121
|Cell in column 2, row 1
@@ -135,7 +135,7 @@ for (int 1; i<=99; i++) {
135135

136136
// IMAGES
137137

138-
// If you need to add an image to the Asciidoc please create a folder called 'attachments' in the same directory as the Asciidoc file,
138+
// If you need to add an image to the Asciidoc please create a folder called 'attachments' in the same directory as the Asciidoc file,
139139
// place the image there and reference it as shown below. Images can be in SVG and PNG format, max size 200KB.
140140

141141
// To include an image on its own line (i.e., a block image), use the image:: prefix in front of the file name and square brackets after it []

AsciiDoc_sample/Reference_Terms/AsciiDoc_Template-Parent_Of_Entities.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Parent of Entity Title
3-
categories: [ "Functions" ]
3+
categories: [ "Functions" ]
44
subCategories: [ "Subcategory Name" ]
55
---
66
// ARDUINO LANGUAGE REFERENCE TAG (above) ►►►►► ALWAYS INCLUDE IN YOUR FILE ◄◄◄◄◄
@@ -78,7 +78,7 @@ http://arduino.cc[serialEvent()]
7878

7979
[float]
8080
=== See also
81-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
81+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
8282
// definitions (please add the tag #DEFINITION#), and examples of Projects and Tutorials
8383
// (please add the tag #EXAMPLE#) ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
8484

AsciiDoc_sample/Reference_Terms/AsciiDoc_Template-Single_Entity.adoc

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

107107
[float]
108108
=== See also
109-
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
109+
// Link relevant content by category, such as other Reference terms (please add the tag #LANGUAGE#),
110110
// definitions: (please add the tag #DEFINITION#), and examples of Projects and Tutorials
111111
// examples: (please add the tag #EXAMPLE#)
112112

@@ -116,7 +116,7 @@ image::http://arduino.cc/en/uploads/Main/ArduinoUno_R3_Front_450px.jpg[caption="
116116
// use the syntax shown below. Please note that the file format is subsituted by attribute.
117117
// Please note that you always need to replace spaces that you might find in folder/file names with %20
118118
// The entire link to Reference pages must be lower case, regardless of the case of the folders and files in this repository.
119-
// For language tag, items will be automatically generated for any other item of the same subcategory,
119+
// For language tag, items will be automatically generated for any other item of the same subcategory,
120120
// no need to add links to other pages of the same subcategory
121121
// if you don't include this section, a minimal version with only the other pages of the same subcategory will be generated.
122122
* #LANGUAGE# link:../AsciiDoc_Template-Parent_Of_Entities[Parent Of Entities]

Language/Functions/Analog IO/analogRead.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ subCategories: [ "Analog I/O" ]
1212

1313
[float]
1414
=== Description
15-
Reads the value from the specified analog pin. Arduino boards contain a multichannel, 10-bit analog to digital converter. This means that it will map input voltages between 0 and the operating voltage(5V or 3.3V) into integer values between 0 and 1023. On an Arduino UNO, for example, this yields a resolution between readings of: 5 volts / 1024 units or, 0.0049 volts (4.9 mV) per unit. See the table below for the usable pins, operating voltage and maximum resolution for some Arduino boards.
15+
Reads the value from the specified analog pin. Arduino boards contain a multichannel, 10-bit analog to digital converter. This means that it will map input voltages between 0 and the operating voltage(5V or 3.3V) into integer values between 0 and 1023. On an Arduino UNO, for example, this yields a resolution between readings of: 5 volts / 1024 units or, 0.0049 volts (4.9 mV) per unit. See the table below for the usable pins, operating voltage and maximum resolution for some Arduino boards.
1616

1717
The input range can be changed using link:../analogreference[analogReference()], while the resolution can be changed (only for Zero, Due and MKR boards) using link:../../zero-due-mkr-family/analogreadresolution[analogReadResolution()].
1818

Language/Functions/Characters/isAlpha.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is alpha (that is a letter). Returns true if thisChar contains a letter.
20+
Analyse if a char is alpha (that is a letter). Returns true if thisChar contains a letter.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isAlphaNumeric.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is alphanumeric (that is a letter or a numbers). Returns true if thisChar contains either a number or a letter.
20+
Analyse if a char is alphanumeric (that is a letter or a numbers). Returns true if thisChar contains either a number or a letter.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isAscii.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is Ascii. Returns true if thisChar contains an Ascii character.
20+
Analyse if a char is Ascii. Returns true if thisChar contains an Ascii character.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isControl.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is a control character. Returns true if thisChar is a control character.
20+
Analyse if a char is a control character. Returns true if thisChar is a control character.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isDigit.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is a digit (that is a number). Returns true if thisChar is a number.
20+
Analyse if a char is a digit (that is a number). Returns true if thisChar is a number.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isGraph.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is printable with some content (space is printable but has no content). Returns true if thisChar is printable.
20+
Analyse if a char is printable with some content (space is printable but has no content). Returns true if thisChar is printable.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isHexadecimalDigit.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is an hexadecimal digit (A-F, 0-9). Returns true if thisChar contains an hexadecimal digit.
20+
Analyse if a char is an hexadecimal digit (A-F, 0-9). Returns true if thisChar contains an hexadecimal digit.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isLowerCase.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is lower case (that is a letter in lower case). Returns true if thisChar contains a letter in lower case.
20+
Analyse if a char is lower case (that is a letter in lower case). Returns true if thisChar contains a letter in lower case.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isPrintable.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is printable (that is any character that produces an output, even a blank space). Returns true if thisChar is printable.
20+
Analyse if a char is printable (that is any character that produces an output, even a blank space). Returns true if thisChar is printable.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isPunct.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is punctuation (that is a comma, a semicolon, an exlamation mark and so on). Returns true if thisChar is punctuation.
20+
Analyse if a char is punctuation (that is a comma, a semicolon, an exlamation mark and so on). Returns true if thisChar is punctuation.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isSpace.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is the space character. Returns true if thisChar contains the space character.
20+
Analyse if a char is the space character. Returns true if thisChar contains the space character.
2121
[%hardbreaks]
2222

2323

Language/Functions/Characters/isWhitespace.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ subCategories: [ "Characters" ]
1717

1818
[float]
1919
=== Description
20-
Analyse if a char is a white space, that is space, formfeed ('\f'), newline ('\n'), carriage return ('\r'), horizontal tab ('\t'), and vertical tab ('\v')).
21-
Returns true if thisChar contains a white space.
20+
Analyse if a char is a white space, that is space, formfeed ('\f'), newline ('\n'), carriage return ('\r'), horizontal tab ('\t'), and vertical tab ('\v')).
21+
Returns true if thisChar contains a white space.
2222
[%hardbreaks]
2323

2424

Language/Functions/Communication/Serial/available.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The number of bytes available to read .
3737
[float]
3838
=== Example Code
3939
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
40-
The following code returns a character received through the serial port.
40+
The following code returns a character received through the serial port.
4141

4242
[source,arduino]
4343
----

Language/Functions/Communication/Serial/print.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Prints data to the serial port as human-readable ASCII text. This command can ta
1919
* `Serial.print(78)` gives "78" +
2020
* `Serial.print(1.23456)` gives "1.23" +
2121
* `Serial.print('N')` gives "N" +
22-
* `Serial.print("Hello world.")` gives "Hello world."
22+
* `Serial.print("Hello world.")` gives "Hello world."
2323

2424

2525
An optional second parameter specifies the base (format) to use; permitted values are `BIN(binary, or base 2)`, `OCT(octal, or base 8)`, `DEC(decimal, or base 10)`, `HEX(hexadecimal, or base 16)`. For floating point numbers, this parameter specifies the number of decimal places to use. For example-

Language/Functions/External Interrupts/attachInterrupt.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The first parameter to `attachInterrupt()` is an interrupt number. Normally you
2121
|===================================================
2222
|Board |Digital Pins Usable For Interrupts
2323
|Uno, Nano, Mini, other 328-based |2, 3
24-
|Uno WiFi Rev.2 |all digital pins
24+
|Uno WiFi Rev.2 |all digital pins
2525
|Mega, Mega2560, MegaADK |2, 3, 18, 19, 20, 21
2626
|Micro, Leonardo, other 32u4-based |0, 1, 2, 3, 7
2727
|Zero |all digital pins, except 4

Language/Functions/Random Numbers/randomSeed.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Nothing
4949
[float]
5050
=== Example Code
5151
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
52-
The code generates a pseudo-random number and sends the generated number to the serial port.
52+
The code generates a pseudo-random number and sends the generated number to the serial port.
5353

5454
[source,arduino]
5555
----

Language/Functions/Time/delayMicroseconds.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Nothing
4949
[float]
5050
=== Example Code
5151
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
52-
The code configures pin number 8 to work as an output pin. It sends a train of pulses of approximately 100 microseconds period. The approximation is due to execution of the other instructions in the code.
52+
The code configures pin number 8 to work as an output pin. It sends a train of pulses of approximately 100 microseconds period. The approximation is due to execution of the other instructions in the code.
5353

5454
[source,arduino]
5555
----

Language/Structure/Comparison Operators/greaterThan.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if (x > y) { // tests if x is greater (bigger) than y
5656

5757
[float]
5858
=== Notes and Warnings
59-
Positive numbers are greater than negative numbers.
59+
Positive numbers are greater than negative numbers.
6060
[%hardbreaks]
6161

6262
--

Language/Structure/Comparison Operators/greaterThanOrEqualTo.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if (x >= y) { // tests if x is greater (bigger) than or equal to y
5656

5757
[float]
5858
=== Notes and Warnings
59-
Positive numbers are greater than negative numbers.
59+
Positive numbers are greater than negative numbers.
6060
[%hardbreaks]
6161

6262
--

Language/Structure/Comparison Operators/lessThan.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if (x < y) { // tests if x is less (smaller) than y
5656

5757
[float]
5858
=== Notes and Warnings
59-
Negative numbers are less than positive numbers.
59+
Negative numbers are less than positive numbers.
6060
[%hardbreaks]
6161

6262
--

Language/Structure/Comparison Operators/lessThanOrEqualTo.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if (x <= y) { // tests if x is less (smaller) than or equal to y
5656

5757
[float]
5858
=== Notes and Warnings
59-
Negative numbers are smaller than positive numbers.
59+
Negative numbers are smaller than positive numbers.
6060
[%hardbreaks]
6161

6262
--

Language/Variables/Utilities/sizeof.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void loop() {
6666

6767
[float]
6868
=== Notes and Warnings
69-
Note that `sizeof` returns the total number of bytes. So for arrays of larger variable types such as ints, the for loop would look something like this.
69+
Note that `sizeof` returns the total number of bytes. So for arrays of larger variable types such as ints, the for loop would look something like this.
7070

7171
[source,arduino]
7272
----

Language/Variables/Variable Scope & Qualifiers/scope.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ A global variable is one that can be seen by every function in a program. Local
2323

2424
When programs start to get larger and more complex, local variables are a useful way to insure that only one function has access to its own variables. This prevents programming errors when one function inadvertently modifies variables used by another function.
2525

26-
It is also sometimes handy to declare and initialize a variable inside a `for` loop. This creates a variable that can only be accessed from inside the for-loop brackets.
26+
It is also sometimes handy to declare and initialize a variable inside a `for` loop. This creates a variable that can only be accessed from inside the for-loop brackets.
2727
[%hardbreaks]
2828

2929
--

Language/Variables/Variable Scope & Qualifiers/static.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ subCategories: [ "Variable Scope & Qualifiers" ]
1515
=== Description
1616
The `static` keyword is used to create variables that are visible to only one function. However unlike local variables that get created and destroyed every time a function is called, static variables persist beyond the function call, preserving their data between function calls.
1717

18-
Variables declared as static will only be created and initialized the first time a function is called.
18+
Variables declared as static will only be created and initialized the first time a function is called.
1919
[%hardbreaks]
2020

2121
--

0 commit comments

Comments
 (0)