Skip to content

Commit

Permalink
Adding .clear() to first example. Rolling lib version.
Browse files Browse the repository at this point in the history
  • Loading branch information
nseidle committed Jan 2, 2019
1 parent a7db049 commit ff901df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/Example1-HelloWorld/Example1-HelloWorld.ino
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ void setup() {
Wire.begin();

lcd.begin(Wire); //Set up the LCD for I2C communication

lcd.clear(); //Clear the display - this moves the cursor to home position as well
lcd.print("Hello, World!");
}

Expand All @@ -50,4 +52,3 @@ void loop() {
// Print the number of seconds since reset:
lcd.print(millis() / 1000);
}

2 changes: 1 addition & 1 deletion examples/Example2-Backlight/Example2-Backlight.ino
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void setup() {

void loop() {
lcd.setBacklight(0, 0, 0); //black is off
lcd.clear();
lcd.clear(); //Clear the display - this moves the cursor to home position as well
lcd.print("Black (off)");
delay(3000);

Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=SparkFun SerLCD Arduino Library
version=1.0.2
version=1.0.3
author=Gaston R. Williams
maintainer=SparkFun Electronics <sparkfun.com>
sentence=Library for I2C, SPI, and Serial Communication with SparkFun SerLCD Displays
Expand Down

0 comments on commit ff901df

Please sign in to comment.