I am creating a new library to control the keyboard and LCD together. Most of the code seems to compile, but when it reaches the line where I define the LiquidCristal variable, it says:
'LiquidCrystal' does not name type when creating user library
This is an excerpt from the contents of my LCDKeypad.h
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#include "WConstants.h"
#endif
#include <LiquidCrystal.h>
The error in this line is:
private:
LiquidCrystal lcd( 8, 9, 4, 5, 6, 7 );
source
share