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

serLCD

serLCD()

Description

Creates a variable of type serLCD.

Syntax

serLCD(pin)

Parameters

pin: the number of the Arduino pin that is connected to the LCD's rxPin

Example

  1. /*
  2.   serLCD - Example
  3. */
  4. #include <SoftwareSerial.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("Hello, World!");
  15. }
  16.  
  17. void loop() {}