diff --git a/examples/Example1-HelloWorld/Example1-HelloWorld.ino b/examples/Example1-HelloWorld/Example1-HelloWorld.ino index 2400442..0ed6702 100644 --- a/examples/Example1-HelloWorld/Example1-HelloWorld.ino +++ b/examples/Example1-HelloWorld/Example1-HelloWorld.ino @@ -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!"); } @@ -50,4 +52,3 @@ void loop() { // Print the number of seconds since reset: lcd.print(millis() / 1000); } - diff --git a/examples/Example2-Backlight/Example2-Backlight.ino b/examples/Example2-Backlight/Example2-Backlight.ino index 81b2aae..a1aeab9 100644 --- a/examples/Example2-Backlight/Example2-Backlight.ino +++ b/examples/Example2-Backlight/Example2-Backlight.ino @@ -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); diff --git a/library.properties b/library.properties index 55fefa5..c486e2d 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SparkFun SerLCD Arduino Library -version=1.0.2 +version=1.0.3 author=Gaston R. Williams maintainer=SparkFun Electronics sentence=Library for I2C, SPI, and Serial Communication with SparkFun SerLCD Displays