Hello
I'm having a doubt about libraries.
Lets supposed I add a new Library on my arduino (in this case S1D13700_Arduino_Beta) How can I know the commands of that library like GLCD.Init, GLCD.DrawBitmap and so on
Is there any way I can read the commands and the right syntax of it
When I add a new one I'm completely blind since I dont have any reference of the library and know how to use it
Can some one explain me this ?
Thanks
A library will contain a xxx.h file that defines what public functions are provided. There is also a xxx.cpp file that has the actual code to perform those definded functions so you can study it to see how is accomplishes the tasks. Usually those files will have author comments to further expain how the library functions.
So if a library author failed to provide independent text files explaining the useage of the library then you only have the option to read the source files xxx.h and xxx.cpp to try and understand.
Lefty
In your example, you seem to be referring to the ks0108 glcd library.
The v3 version of the glcd library comes with an enormous amount of documentation.
It is all in html for easy viewing and is even searchable.
I spent many days/weeks working with Michael Margolis putting all the documentation together.
It contains information on the library, how to hook up the glcd panels for various arduino boards,
photos of what the diag sketch
displays will look like, some basic troubleshooting,
how to add new bitmaps and fonts,
documentation on every single function available in the library,
and more.
Perhaps you have the v2 version of the library or missed the instructions in the v3 readme
that explains where to find the additional documentation.
If you have v2, upgrade to the latest v3 library.
See this thread for details:
http://arduino.cc/forum/index.php/topic,56705.0.html
There is also a link to this thread on the ks0108 playground page:
--- bill
Hello
First of all thanks for your answer.I already read some info about ks0108 glcd library but unfortunately it wont work for me since my display uses a Epson S1D13700 controller and the ks0108 wont work with it
(at least the test I made, correct me if I'm wrong)
I want to study this display because it have a enormous features, it have touchscreen, 320x240 area and is cheap.
Did you have some info about it?
If you want see more just look here
Is it possible to adapt the ks0108 glcd library to also work with it?
I don't have any information on the display. From briefly looking at his code it is quite different
from a ks0108 interface and memory pixel layout
so it would not be a simple thing to adapt the current glcd library to work with it.
The author has documented all the API functions he has.
Although his bitmap functions are not documented well enough to use them.
Also I don't think the author realizes that there are many different bitmap and font formats.
There are several bitmap to glcd header file converters out there but many do not create the headers in
the format he wants. Some have options to create the headers in different formats but most do not.
I think in this case you will have to contact the author for assistance.
--- bill
[YouTube:2EwViQxSJJQ&feature=grec_index]