Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post

serLCD

setSplash()

Description

Saves the first 2 lines of text that are currently printed on the LCD screen to memory as the new splash screen.

Syntax

lcd.setSplash()

Parameters

lcd: a variable of type serLCD

Example

  1. /*
  2.   serLCD - Set Splash Screen Example
  3. */
  4. #include <NewSoftSerial.h>
  5. #include <serLCD.h>
  6.  
  7. // Set pin to the LCD's rxPin
  8. int pin = 2;
  9.  
  10. serLCD lcd(pin);
  11.  
  12. void setup()
  13. {
  14.   lcd.print("      New       ");
  15.   lcd.print(" Splash Screen! ");
  16.   lcd.setSplash();
  17. }
  18.  
  19. void loop() {}
See also