I'm fairly new at this. I have an Arduino Uno version 2. I'm trying to get a SparkFun serial backpack 16x2 LCD display to work. I placed the 2 files ( serLCD.cpp and serLCD.h) in directory "serLCD" in the libraries directory. I then copied the example for print function:
/*
serLCD - Hello World Example
*/
#include <serLCD.h>
#include <NewSoftSerial.h>
// Set pin to the LCD's rxPin
int pin = 2;
serLCD lcd(pin);
void setup()
{
lcd.print("hello, world!");
}
void loop() {}
The lcd is hooked to pin 2 to match the example. When I compile I get
'class serLCD' has no member named 'print'Indeed, I see no print function in serLCD.cpp. This is a very simple piece of code and I don't understand what's wrong.