Skip to content

Commit 78db14e

Browse files
committed
Fix wording and run astyle
1 parent 1d8f63d commit 78db14e

File tree

10 files changed

+41
-43
lines changed

10 files changed

+41
-43
lines changed

examples/Autoscroll/Autoscroll.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
// include the library code:
4242
#include <LiquidCrystal.h>
4343

44-
// initialize the library with the numbers of the interface pins
45-
// initialize the library with the arduino pin numbers of the LCD interface pins
46-
const int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
47-
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
44+
// initialize the library by associating any needed LCD interface pin
45+
// with the arduino pin number it is connected to
46+
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
47+
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
4848

4949
void setup() {
5050
// set up the LCD's number of columns and rows:

examples/Blink/Blink.ino

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,9 @@
4141
// include the library code:
4242
#include <LiquidCrystal.h>
4343

44-
// initialize the library with the numbers of the interface pins
45-
// initialize the library with the arduino pin numbers of the LCD interface pins
46-
const int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
47-
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
44+
// initialize the library by associating any needed LCD interface pin
45+
// with the arduino pin number it is connected toconst int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
46+
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
4847

4948
void setup() {
5049
// set up the LCD's number of columns and rows:

examples/Cursor/Cursor.ino

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@
4242
// include the library code:
4343
#include <LiquidCrystal.h>
4444

45-
// initialize the library with the numbers of the interface pins
46-
// initialize the library with the arduino pin numbers of the LCD interface pins
47-
const int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
48-
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
45+
// initialize the library by associating any needed LCD interface pin
46+
// with the arduino pin number it is connected toconst int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
47+
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
4948

5049
void setup() {
5150
// set up the LCD's number of columns and rows:

examples/CustomCharacter/CustomCharacter.ino

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
// include the library code:
4444
#include <LiquidCrystal.h>
4545

46-
// initialize the library with the numbers of the interface pins
47-
// initialize the library with the arduino pin numbers of the LCD interface pins
48-
const int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
49-
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
46+
// initialize the library by associating any needed LCD interface pin
47+
// with the arduino pin number it is connected to
48+
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
49+
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
5050

5151
// make some custom characters:
5252
byte heart[8] = {
@@ -118,10 +118,10 @@ void setup() {
118118
lcd.createChar(3, armsDown);
119119
// create a new character
120120
lcd.createChar(4, armsUp);
121-
121+
122122
// set the cursor to the top left
123-
lcd.setCursor(0,0);
124-
123+
lcd.setCursor(0, 0);
124+
125125
// Print a message to the lcd.
126126
lcd.print("I ");
127127
lcd.write(byte(0)); // when calling lcd.write() '0' must be cast as a byte

examples/Display/Display.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
// include the library code:
4343
#include <LiquidCrystal.h>
4444

45-
// initialize the library with the numbers of the interface pins
46-
// initialize the library with the arduino pin numbers of the LCD interface pins
47-
const int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
48-
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
45+
// initialize the library by associating any needed LCD interface pin
46+
// with the arduino pin number it is connected to
47+
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
48+
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
4949

5050
void setup() {
5151
// set up the LCD's number of columns and rows:

examples/HelloWorld/HelloWorld.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
// include the library code:
4444
#include <LiquidCrystal.h>
4545

46-
// initialize the library with the numbers of the interface pins
47-
// initialize the library with the arduino pin numbers of the LCD interface pins
48-
const int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
49-
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
46+
// initialize the library by associating any needed LCD interface pin
47+
// with the arduino pin number it is connected to
48+
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
49+
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
5050

5151
void setup() {
5252
// set up the LCD's number of columns and rows:

examples/Scroll/Scroll.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
// include the library code:
4343
#include <LiquidCrystal.h>
4444

45-
// initialize the library with the numbers of the interface pins
46-
// initialize the library with the arduino pin numbers of the LCD interface pins
47-
const int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
48-
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
45+
// initialize the library by associating any needed LCD interface pin
46+
// with the arduino pin number it is connected to
47+
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
48+
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
4949

5050
void setup() {
5151
// set up the LCD's number of columns and rows:

examples/SerialDisplay/SerialDisplay.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
// include the library code:
4242
#include <LiquidCrystal.h>
4343

44-
// initialize the library with the numbers of the interface pins
45-
// initialize the library with the arduino pin numbers of the LCD interface pins
46-
const int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
47-
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
44+
// initialize the library by associating any needed LCD interface pin
45+
// with the arduino pin number it is connected to
46+
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
47+
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
4848

4949
void setup() {
5050
// set up the LCD's number of columns and rows:

examples/TextDirection/TextDirection.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
// include the library code:
4242
#include <LiquidCrystal.h>
4343

44-
// initialize the library with the numbers of the interface pins
45-
// initialize the library with the arduino pin numbers of the LCD interface pins
46-
const int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
47-
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
44+
// initialize the library by associating any needed LCD interface pin
45+
// with the arduino pin number it is connected to
46+
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
47+
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
4848

4949
int thisChar = 'a';
5050

examples/setCursor/setCursor.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
// include the library code:
4242
#include <LiquidCrystal.h>
4343

44-
// initialize the library with the numbers of the interface pins
45-
// initialize the library with the arduino pin numbers of the LCD interface pins
46-
const int rs=12, en=11, d4=5, d5=4, d6=3, d7=2;
47-
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
44+
// initialize the library by associating any needed LCD interface pin
45+
// with the arduino pin number it is connected to
46+
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
47+
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
4848

4949
// these constants won't change. But you can change the size of
5050
// your LCD using them:

0 commit comments

Comments
 (0)