This is Avinash, as am new to GLCD projects, as i have purchased GLCD LM12864DFC-1, with Ks0108 driver, the problem what am facing is with the programming.
though initially i tried to run the pre-loaded sketch on arduino IDE which are available as sketches, i tried to compile and am getting error messages while compiling the sample sketches associated with GLCD's.
i was trying to make use of library file include<glcd.h>, compiler is giving a message that
"sketch_GLCDdiags:33:18: error: glcd.h: No such file or directory", , now i need help in understanding am getting same error message for any sample sketch, which includes "glcd.h" library.
through old forum discussions i found, this library file glcd.h no longer exist, but what about the replacement library file, from where i can get the new library file, or what is that i should be doing.
inside the attachment you can find the "diags" file, kindly check this and suggest me what should be done to compile this or any other file which is related to display codes.
You might look at the UTFT library by Henning Karlsen from RinkyDink. It comes with seriously good documentation, so you get the chance to ensure that is is compatible with your display.
Thanks for the response, through my search i found "openGLCD.h" from the bitbucket, and downloaded the library and resolved that compilation error, but now for writing a "Hello world" program itself am getting error message like this, here with am attaching the program and the error message.
This sketch prints "Hello World!" to the LCD
and shows the time in seconds since reset.
The circuit:
See the inlcuded documentation in glcd/doc directory for how to wire
up the glcd module. glcd/doc/GLCDref.htm can be viewed in your browser
by clicking on the file.
*/
// include the library header
/#include <glcd.h>/
// include the Fonts #include <fonts/allFonts.h>
void setup() {
// Initialize the GLCD
GLCD.Init();
// Select the font for the default text area
GLCD.SelectFont(System5x7);
GLCD.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
}
GLCD.CursorTo(0, 1);
// print the number of seconds since reset:
GLCD.print(millis()/1000);