Hi:
I'm trying to make a class called CDisplay that show the text into ks0108 display so i have this class
CDisplay.h
#ifndef CDisplay_h
#define CDisplay_h
#include <WProgram.h>
#include <GLCD.h>
class CDisplay{
public:
CDisplay();
~CDisplay();
private:
GLCD _glcd;
};
#endif
and CDisplay.cpp
#include <WProgram.h>
#include <GLCD.h>
#include "CDisplay.h"
CDisplay::CDisplay(){
}
CDisplay::~CDisplay(){
}
but i got an error like "GLCD does not name a type"
so what am i doing wrong please