Skip to content

Commit f1f2f18

Browse files
committed
Correct typos in comments and documentation
1 parent f5ac710 commit f1f2f18

File tree

13 files changed

+48
-65
lines changed

13 files changed

+48
-65
lines changed

README.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/spell-check.yml/badge.svg["Spell Check status", link="https://github.com/{repository-owner}/{repository-name}/actions/workflows/spell-check.yml"]
77

8-
This library allows an Arduino board to control LiquidCrystal displays (LCDs) based on the Hitachi HD44780 (or a compatible) chipset, which is found on most text-based LCDs.
8+
This library allows an Arduino board to control liquid crystal displays (LCDs) based on the Hitachi HD44780 (or a compatible) chipset, which is found on most text-based LCDs.
99

1010
For more information about this library please visit us at
1111

examples/Autoscroll/Autoscroll.ino

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
LiquidCrystal Library - Autoscroll
33
4-
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
4+
Demonstrates the use of a 16x2 LCD display. The LiquidCrystal
55
library works with all LCD displays that are compatible with the
66
Hitachi HD44780 driver. There are many of them out there, and you
77
can usually tell them by the 16-pin interface.
@@ -34,15 +34,15 @@
3434
3535
This example code is in the public domain.
3636
37-
http://www.arduino.cc/en/Tutorial/LiquidCrystalAutoscroll
37+
https://www.arduino.cc/en/Tutorial/LibraryExamples/LiquidCrystalAutoscroll
3838
3939
*/
4040

4141
// include the library code:
4242
#include <LiquidCrystal.h>
4343

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

@@ -75,4 +75,3 @@ void loop() {
7575
// clear screen for the next loop:
7676
lcd.clear();
7777
}
78-

examples/Blink/Blink.ino

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
LiquidCrystal Library - Blink
33
4-
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
4+
Demonstrates the use of a 16x2 LCD display. The LiquidCrystal
55
library works with all LCD displays that are compatible with the
66
Hitachi HD44780 driver. There are many of them out there, and you
77
can usually tell them by the 16-pin interface.
88
9-
This sketch prints "Hello World!" to the LCD and makes the
9+
This sketch prints "hello, world!" to the LCD and makes the
1010
cursor block blink.
1111
1212
The circuit:
@@ -34,15 +34,15 @@
3434
3535
This example code is in the public domain.
3636
37-
http://www.arduino.cc/en/Tutorial/LiquidCrystalBlink
37+
https://www.arduino.cc/en/Tutorial/LibraryExamples/LiquidCrystalBlink
3838
3939
*/
4040

4141
// include the library code:
4242
#include <LiquidCrystal.h>
4343

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

@@ -61,5 +61,3 @@ void loop() {
6161
lcd.blink();
6262
delay(3000);
6363
}
64-
65-

examples/Cursor/Cursor.ino

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
LiquidCrystal Library - Cursor
33
4-
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
4+
Demonstrates the use of a 16x2 LCD display. The LiquidCrystal
55
library works with all LCD displays that are compatible with the
66
Hitachi HD44780 driver. There are many of them out there, and you
77
can usually tell them by the 16-pin interface.
88
9-
This sketch prints "Hello World!" to the LCD and
9+
This sketch prints "hello, world!" to the LCD and
1010
uses the cursor() and noCursor() methods to turn
1111
on and off the cursor.
1212
@@ -35,15 +35,15 @@
3535
3636
This example code is in the public domain.
3737
38-
http://www.arduino.cc/en/Tutorial/LiquidCrystalCursor
38+
https://www.arduino.cc/en/Tutorial/LibraryExamples/LiquidCrystalCursor
3939
4040
*/
4141

4242
// include the library code:
4343
#include <LiquidCrystal.h>
4444

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

@@ -62,4 +62,3 @@ void loop() {
6262
lcd.cursor();
6363
delay(500);
6464
}
65-

examples/CustomCharacter/CustomCharacter.ino

+5-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Demonstrates how to add custom characters on an LCD display.
55
The LiquidCrystal library works with all LCD displays that are
6-
compatible with the Hitachi HD44780 driver. There are many of
6+
compatible with the Hitachi HD44780 driver. There are many of
77
them out there, and you can usually tell them by the 16-pin interface.
88
99
This sketch prints "I <heart> Arduino!" and a little dancing man
@@ -20,7 +20,7 @@
2020
* 10K potentiometer:
2121
* ends to +5V and ground
2222
* wiper to LCD VO pin (pin 3)
23-
* 10K poterntiometer on pin A0
23+
* 10K potentiometer on pin A0
2424
2525
created 21 Mar 2011
2626
by Tom Igoe
@@ -35,8 +35,7 @@
3535
https://github.com/adafruit/SPI_VFD/blob/master/examples/createChar/createChar.pde
3636
3737
This example code is in the public domain.
38-
http://www.arduino.cc/en/Tutorial/LiquidCrystalCustomCharacter
39-
38+
4039
Also useful:
4140
https://maxpromer.github.io/LCD-Character-Creator/
4241
@@ -46,7 +45,7 @@
4645
#include <LiquidCrystal.h>
4746

4847
// initialize the library by associating any needed LCD interface pin
49-
// with the arduino pin number it is connected to
48+
// with the Arduino pin number it is connected to
5049
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
5150
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
5251

@@ -124,7 +123,7 @@ void setup() {
124123
// set the cursor to the top left
125124
lcd.setCursor(0, 0);
126125

127-
// Print a message to the lcd.
126+
// Print a message to the LCD.
128127
lcd.print("I ");
129128
lcd.write(byte(0)); // when calling lcd.write() '0' must be cast as a byte
130129
lcd.print(" Arduino! ");

examples/Display/Display.ino

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
LiquidCrystal Library - display() and noDisplay()
33
4-
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
4+
Demonstrates the use of a 16x2 LCD display. The LiquidCrystal
55
library works with all LCD displays that are compatible with the
66
Hitachi HD44780 driver. There are many of them out there, and you
77
can usually tell them by the 16-pin interface.
88
9-
This sketch prints "Hello World!" to the LCD and uses the
9+
This sketch prints "hello, world!" to the LCD and uses the
1010
display() and noDisplay() functions to turn on and off
1111
the display.
1212
@@ -35,15 +35,15 @@
3535
3636
This example code is in the public domain.
3737
38-
http://www.arduino.cc/en/Tutorial/LiquidCrystalDisplay
38+
https://www.arduino.cc/en/Tutorial/LibraryExamples/LiquidCrystalDisplay
3939
4040
*/
4141

4242
// include the library code:
4343
#include <LiquidCrystal.h>
4444

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

@@ -62,4 +62,3 @@ void loop() {
6262
lcd.display();
6363
delay(500);
6464
}
65-

examples/HelloWorld/HelloWorld.ino

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
LiquidCrystal Library - Hello World
33
4-
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
4+
Demonstrates the use of a 16x2 LCD display. The LiquidCrystal
55
library works with all LCD displays that are compatible with the
66
Hitachi HD44780 driver. There are many of them out there, and you
77
can usually tell them by the 16-pin interface.
88
9-
This sketch prints "Hello World!" to the LCD
9+
This sketch prints "hello, world!" to the LCD
1010
and shows the time.
1111
1212
The circuit:
@@ -36,15 +36,15 @@
3636
3737
This example code is in the public domain.
3838
39-
http://www.arduino.cc/en/Tutorial/LiquidCrystalHelloWorld
39+
https://www.arduino.cc/en/Tutorial/LibraryExamples/HelloWorld
4040
4141
*/
4242

4343
// include the library code:
4444
#include <LiquidCrystal.h>
4545

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

@@ -62,4 +62,3 @@ void loop() {
6262
// print the number of seconds since reset:
6363
lcd.print(millis() / 1000);
6464
}
65-

examples/Scroll/Scroll.ino

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
LiquidCrystal Library - scrollDisplayLeft() and scrollDisplayRight()
33
4-
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
4+
Demonstrates the use of a 16x2 LCD display. The LiquidCrystal
55
library works with all LCD displays that are compatible with the
66
Hitachi HD44780 driver. There are many of them out there, and you
77
can usually tell them by the 16-pin interface.
88
9-
This sketch prints "Hello World!" to the LCD and uses the
9+
This sketch prints "hello, world!" to the LCD and uses the
1010
scrollDisplayLeft() and scrollDisplayRight() methods to scroll
1111
the text.
1212
@@ -35,15 +35,15 @@
3535
3636
This example code is in the public domain.
3737
38-
http://www.arduino.cc/en/Tutorial/LiquidCrystalScroll
38+
https://www.arduino.cc/en/Tutorial/LibraryExamples/LiquidCrystalScroll
3939
4040
*/
4141

4242
// include the library code:
4343
#include <LiquidCrystal.h>
4444

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

@@ -85,6 +85,4 @@ void loop() {
8585

8686
// delay at the end of the full loop:
8787
delay(1000);
88-
8988
}
90-

examples/SerialDisplay/SerialDisplay.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
LiquidCrystal Library - Serial Input
33
4-
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
4+
Demonstrates the use of a 16x2 LCD display. The LiquidCrystal
55
library works with all LCD displays that are compatible with the
66
Hitachi HD44780 driver. There are many of them out there, and you
77
can usually tell them by the 16-pin interface.
@@ -42,7 +42,7 @@
4242
#include <LiquidCrystal.h>
4343

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

examples/TextDirection/TextDirection.ino

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
LiquidCrystal Library - TextDirection
33
4-
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
4+
Demonstrates the use of a 16x2 LCD display. The LiquidCrystal
55
library works with all LCD displays that are compatible with the
66
Hitachi HD44780 driver. There are many of them out there, and you
77
can usually tell them by the 16-pin interface.
@@ -42,7 +42,7 @@
4242
#include <LiquidCrystal.h>
4343

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

@@ -80,11 +80,3 @@ void loop() {
8080
// increment the letter:
8181
thisChar++;
8282
}
83-
84-
85-
86-
87-
88-
89-
90-

examples/setCursor/setCursor.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
LiquidCrystal Library - setCursor
33
4-
Demonstrates the use a 16x2 LCD display. The LiquidCrystal
4+
Demonstrates the use of a 16x2 LCD display. The LiquidCrystal
55
library works with all LCD displays that are compatible with the
66
Hitachi HD44780 driver. There are many of them out there, and you
77
can usually tell them by the 16-pin interface.
@@ -34,15 +34,15 @@
3434
3535
This example code is in the public domain.
3636
37-
http://www.arduino.cc/en/Tutorial/LiquidCrystalSetCursor
37+
https://www.arduino.cc/en/Tutorial/LibraryExamples/LiquidCrystalSetCursor
3838
3939
*/
4040

4141
// include the library code:
4242
#include <LiquidCrystal.h>
4343

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

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version=1.0.7
33
author=Arduino, Adafruit
44
maintainer=Arduino <[email protected]>
55
sentence=Allows communication with alphanumerical liquid crystal displays (LCDs).
6-
paragraph=This library allows an Arduino/Genuino board to control LiquidCrystal displays (LCDs) based on the Hitachi HD44780 (or a compatible) chipset, which is found on most text-based LCDs. The library works with in either 4 or 8 bit mode (i.e. using 4 or 8 data lines in addition to the rs, enable, and, optionally, the rw control lines).
6+
paragraph=This library allows an Arduino board to control liquid crystal displays (LCDs) based on the Hitachi HD44780 (or a compatible) chipset, which is found on most text-based LCDs. The library works with in either 4 or 8 bit mode (i.e. using 4 or 8 data lines in addition to the rs, enable, and, optionally, the rw control lines).
77
category=Display
88
url=http://www.arduino.cc/en/Reference/LiquidCrystal
99
architectures=*

0 commit comments

Comments
 (0)