C: Installation instructions (modified for V 1\3)Graphlib comes with the complete CodeWarrior project and can be used immediately in code warrior (project created in CW 7.0). GCC users will have to extract the essential files listed below and create the project from a Makefile (a sample Makefile is provided)
Extract the archive to a directory (preferably called graphlib). You should find the following files in the directory hierarchy. (there are other files that would be particular to CW)
Essential files
gr.c -- the main GraphLib API source file grlib.h -- the accompanying header file fill.h -- header file used in gr.c for patterns Test application files
app.c -- the test application source file. GCC users GCC users cannot compile from the resources. To test graphlib it is recommended you create your own forms (.rcp) and compile these source files.
a ready .PRC file that you can upload and see as demo is also included - you can try it on POSE or on the handheld.
Using the test application
Notes -app.c is a test application file you can look at to tinker with cases and see how graph creation is done. Specifically see the routine DoGraph() that contains the comments and code on how the API's are used. If you manage to get the application compiled and running, it will the same as the demo you saw in enclosed .PRC file.