good evening , i'm working with GLCD 128x64 ks 0108b and i found the sketch schematic of this component but i have a little problem?
when i execute the program in arduino always show me this message " GLCD was not declared in this scoop".
have anyone a solve about this ?? help me pleeeease !
You shouldn't be defining your GLCD pins within your Arduino Sketch itself. This is already done within the configuration file of the library that your using.
Secondly, as Olikraus stated, you haven't included the correct library. I would suggest that you download the openGLCD library from Bperrybap. It might be as you say that you don't have the library installed. Once it is installed (copied into your library folder) close and re-open the Arduino IDE for the program to pick up the library. You can test whether the library is installed correctly by going to examples, if it is installed you will get a submenu with GLCD or openGLCD and within these menus there will be various examples.
Once you've downloaded it you must copy the library into your library folder in your Arduino installation directry i.e.
C:\Program Files\Arduino\libraries
Hope that this helps, or at least points you in the correct direction.
it's woooooooooooooooooooooooooooooooooooork thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you
Dirka,
openGLCD can be installed using the IDE, which is easier
and does not require any file copying or exiting the IDE before you can use it.
Oliver,
I wonder why Arduino IDE does not complain about the wrong .h file.
This is a gcc (g++ actually) issue. For some goofy reason somebody got the bright
idea that not finding an include file is a warning and not a hard error.
So some versions just print a warning and attempt to keep going, which
tends to spew out all kinds of odd errors.
To me, this is wrong, and goes against decades of practice.
Apparently I wasn't the only one thinking
this was a mistake and I believe later versions of the tools changed back
to treating a missing include file as a hard error.