Skip to content

Make all files end in a newline #552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ pipeline:
- bcmi-labs/reference
when:
branch: [master]
event: push
event: push
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,3 @@ image::http://arduino.cc/en/uploads/Main/ArduinoUno_R3_Front_450px.jpg[caption="

--
// SEE ALSO SECTION ENDS

2 changes: 1 addition & 1 deletion Language/Functions/Advanced IO/tone.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ If you want to play different pitches on multiple pins, you need to call `noTone
* #EXAMPLE# http://arduino.cc/en/Tutorial/PWM[PWM^]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Functions/Characters/isDigit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ else
* #LANGUAGE# link:../../communication/serial/read[read()]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Functions/Communication/Serial/end.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Disables serial communication, allowing the RX and TX pins to be used for genera
Nothing

--
// OVERVIEW SECTION ENDS
// OVERVIEW SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Functions/Communication/Serial/readString.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ A String read from the serial buffer
* #LANGUAGE# link:../parsefloat[parseFloat()]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ The terminator character is discarded from the serial buffer.
* #LANGUAGE# link:../../stream/streamparsefloat[stream.parseFloat()]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Functions/Communication/Serial/serialEvent.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ Nothing
* #LANGUAGE# link:../write[write()]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ This function is part of the Stream class, and can be called by any class that i
`int` : the number of bytes available to read

--
// OVERVIEW SECTION ENDS
// OVERVIEW SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Functions/Communication/Stream/streamFind.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ This function is part of the Stream class, and can be called by any class that i
`bool`

--
// OVERVIEW SECTION ENDS
// OVERVIEW SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ This function is part of the Stream class, and can be called by any class that i
`bool`

--
// OVERVIEW SECTION ENDS
// OVERVIEW SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Functions/Communication/Stream/streamFlush.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ This function is part of the Stream class, and can be called by any class that i
Nothing

--
// OVERVIEW SECTION ENDS
// OVERVIEW SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ This function is part of the Stream class, and can be called by any class that i
`float`

--
// OVERVIEW SECTION ENDS
// OVERVIEW SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ This function is part of the Stream class, and can be called by any class that i
`long`

--
// OVERVIEW SECTION ENDS
// OVERVIEW SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Functions/Communication/Stream/streamPeek.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ The next byte (or character), or -1 if none is available.
--

--
// HOW TO USE SECTION ENDS
// HOW TO USE SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Functions/Communication/Stream/streamRead.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ This function is part of the Stream class, and can be called by any class that i
The first byte of incoming data available (or -1 if no data is available).

--
// OVERVIEW SECTION ENDS
// OVERVIEW SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ The terminator character is discarded from the stream.

--
// HOW TO USE SECTION ENDS

2 changes: 1 addition & 1 deletion Language/Functions/USB/Keyboard/keyboardBegin.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ void loop() {
}
----

// HOW TO USE SECTION ENDS
// HOW TO USE SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Functions/USB/Keyboard/keyboardModifiers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ The Leonardo's definitions for modifier keys are listed below:
|KEY_F12 |0xCD |205

--
// OVERVIEW SECTION ENDS
// OVERVIEW SECTION ENDS
1 change: 0 additions & 1 deletion Language/Functions/USB/Mouse.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,3 @@ link:../mouse/mouseispressed[Mouse.isPressed()]

--
// SEE ALSO SECTION ENDS

1 change: 0 additions & 1 deletion Language/Functions/USB/Mouse/mouseBegin.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,3 @@ void loop(){

--
// SEE ALSO SECTION ENDS

2 changes: 1 addition & 1 deletion Language/Functions/USB/Mouse/mouseClick.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ When you use the `Mouse.click()` command, the Arduino takes over your mouse! Mak
* #LANGUAGE# link:../mouseispressed[Mouse.isPressed()]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Structure/Bitwise Operators/bitshiftRight.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ int y = x >> 3; // integer division of 1000 by 8, causing y = 125.
* #EXAMPLE# http://www.arduino.cc/playground/Code/BitMath[BitMath Tutorial^]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Structure/Bitwise Operators/bitwiseOr.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ DDRD = DDRD | B11111100;
* #EXAMPLE# https://www.arduino.cc/playground/Code/BitMath[BitMath Tutorial^]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Structure/Boolean Operators/logicalAnd.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ Make sure you don't mistake the boolean AND operator, && (double ampersand) for
* #LANGUAGE# link:../../bitwise-operators/bitwiseand[& (Bitwise AND)]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Structure/Boolean Operators/logicalOr.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ Do not confuse the boolean || (double pipe) operator with the bitwise OR operato
* #LANGUAGE# link:../../bitwise-operators/bitwiseor[| Bitwise OR]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
1 change: 0 additions & 1 deletion Language/Structure/Comparison Operators/equalTo.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ if (x==y) // tests if x is equal to y

--
// SEE ALSO SECTION ENDS

Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ x += 4; // x now contains 6
* #LANGUAGE# link:../../arithmetic-operators/addition[Normal Addition]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Structure/Compound Operators/increment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ y = x++; // x contains 4, but y still contains 3
[role="language"]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Structure/Control Structure/else.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ else
[role="language"]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Structure/Control Structure/for.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ void loop()
[role="language"]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Structure/Control Structure/while.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ while(var < 200){
* #EXAMPLE# https://arduino.cc/en/Tutorial/WhileLoop[While Loop Tutorial^]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Structure/Further Syntax/include.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ prog_uint16_t myConstants[] PROGMEM = {0, 21140, 702 , 9128, 0, 25764, 8456,


--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Constants/floatingPointConstants.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ Floating point constants can also be expressed in a variety of scientific notati
[role="language"]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Conversion/byteCast.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ Converts a value to the link:../../data-types/byte[byte] data type.
* #LANGUAGE# link:../../data-types/byte[byte]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Conversion/charCast.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ Converts a value to the link:../../data-types/char[char] data type.
* #LANGUAGE# link:../../data-types/char[char]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Conversion/floatCast.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ See the reference for link:../../data-types/float[float] for details about the p
* #LANGUAGE# link:../../data-types/float[float]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Conversion/intCast.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ Converts a value to the link:../../data-types/int[int] data type.


--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Conversion/longCast.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ Converts a value to the link:../../data-types/long[long] data type.


--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Conversion/wordcast.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ Converts a value to the link:../../data-types/word[word] data type.


--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Data Types/String/Functions/c_str.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ A pointer to the C-style version of the invoking String.
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ Compares two Strings, testing whether one comes before or after the other, or wh
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Data Types/String/Functions/concat.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ Appends the parameter to a String.
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ Tests whether or not a String ends with the characters of another String.
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Data Types/String/Functions/equals.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ Compares two Strings for equality. The comparison is case-sensitive, meaning the
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ The index of val within the String, or -1 if not found.
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ The index of val within the String, or -1 if not found.
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Data Types/String/Functions/length.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ The length of the String in characters.
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ None
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ Tests whether or not a String starts with the characters of another String.
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ The substring.
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ new String that is the combination of the original two Strings.
[role="example"]
* #EXAMPLE# https://www.arduino.cc/en/Tutorial/BuiltInExamples#strings[Built-in String Tutorials^]
--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Data Types/byte.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ A byte stores an 8-bit unsigned number, from 0 to 255.
* #LANGUAGE# link:../../conversion/bytecast[byte()]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Data Types/char.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ The char datatype is a signed type, meaning that it encodes numbers from -128 to
* #LANGUAGE# link:../../../functions/communication/serial/println[Serial.println]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Data Types/double.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ Users who borrow code from other sources that includes double variables may wish
=== See also

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Data Types/float.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ If doing math with floats, you need to add a decimal point, otherwise it will be
[role="language"]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Data Types/short.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ On all Arduinos (ATMega and ARM based) a short stores a 16-bit (2-byte) value. T
* #LANGUAGE# link:../../constants/integerconstants[Integer Constants]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
2 changes: 1 addition & 1 deletion Language/Variables/Data Types/unsignedChar.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ unsigned char myChar = 240;
* #LANGUAGE# link:../../../functions/communication/serial/println[Serial.println]

--
// SEE ALSO SECTION ENDS
// SEE ALSO SECTION ENDS
Loading