GLCD library for LM12864LFW

hello ,
when i tried to use GLCD library for LM12864LFW in this link

http://playground.arduino.cc/Code/LCD12864

there is an error

C:\Program Files (x86)\Arduino\libraries\LCD12864\LCD12864.cpp:20:21: fatal error: wiring.h: No such file or directory #include <wiring.h>

thanks ,

any help ?

Modern libraries look at the version number of the IDE.

Really old pre- version 1.0.0 will want Wiring.h
Modern IDEs like v1.6.x will want Arduino.h

I suggest that you upgrade to a current version of Arduino IDE. e.g. v1.6.9

And a current graphics library. I am guessing that you have a regular KS0108 display.

Untested. I am not at a PC at the moment.

thanks david i will upgrade my IDE but my IDE is 1.6.8 and i have GLCD LM12864LFW not KS0108 is this work after upgrade .
thanks in advance

Well, I googled LM12864LFW and it looks very much like a KS0108 style of display.

I then googled your Arduino Playground - LCD12864 and found that it is designed for a ST7920 style of display.

I suggest that you find a regular KS0108 library and a KS0108 tutorial. The KS0108 is the most common form of 128x64 GLCD display. e.g. the OpenGLCD library or the U8glib library

David.

david_prentice:
Well, I googled LM12864LFW and it looks very much like a KS0108 style of display.

I then googled your Arduino Playground - HomePage and found that it is designed for a ST7920 style of display.

I suggest that you find a regular KS0108 library and a KS0108 tutorial. The KS0108 is the most common form of 128x64 GLCD display. e.g. the OpenGLCD library or the U8glib library

David.

hi david,
thanks for your help but i have upgraded to 1.6.9 and also have the same problem #include <wiring.h>

any help about this GLCD for LM12864LFW

eng_ibrahim_comm2012,
you have 2 issues:

  1. you are trying to use a very old library that won't work on any IDE since 1.0
  2. you are wanting to use a library that will not work for the chipset on glcd module you say you have.

Take david's advice and switch to a newer & maintained library that works with the IDE you have and more importantly, supports the chipset on the glcd you say you have.

--- bill