I'm trying to test a serial 20X4 LCD on an Uno, I just want to run 'Hello World', etc.
But I'm getting errors unclear to me:
HelloWorld:12: error: 'TKLCD_Local' does not name a type
HelloWorld.ino: In function 'void setup()':
HelloWorld:16: error: 'lcd' was not declared in this scope
/**
* Simple Hello World program. To be run on an Arduino connected
* to a TinkerKit LCD module via Serial.
*/
#include <Wire.h>
#include <LiquidCrystal.h>
#include <TKLCD.h>
//TKLCD_Serial lcd = TKLCD_Serial(); // when connecting to TKLCD over Serial
TKLCD_Local lcd = TKLCD_Local(); // when programming a TKLCD module itself
void setup() {
lcd.begin();
lcd.clear();
lcd.print("Hello World!");
}
void loop() {
; // nothing do be done
}
I have added the TKLCD library.
Any suggestions appreciated.