| 1 |
|
| 2 |
Installation instructions |
| 3 |
------------------------- |
| 4 |
|
| 5 |
You'll need at least gpsim-0.21.2 for this to work. |
| 6 |
|
| 7 |
un tar the lcd-0.2.1.tar.gz tarball and then: |
| 8 |
|
| 9 |
$ cd lcd-0.2.1 |
| 10 |
$ make |
| 11 |
$ su |
| 12 |
# make install |
| 13 |
# exit |
| 14 |
|
| 15 |
At this point, the LCD module has been compiled and installed |
| 16 |
as a shared library that can be loaded by gpsim. If you want to |
| 17 |
see if it works, then run the example: |
| 18 |
|
| 19 |
$ cd lcd-0.2.1/examples |
| 20 |
$ gpasm lcd_mod.asm |
| 21 |
$ gpsim -c lcd_mod.stc |
| 22 |
|
| 23 |
This will assemble the pic assembly code that test the LCD module. |
| 24 |
This code is fairly complete and can be used as an LCD driver for |
| 25 |
a real PIC/LCD board. |
| 26 |
|
| 27 |
When gpsim comes up, you should see the LCD display. A dark line |
| 28 |
will appear on the first row just like it does for a real LCD. When |
| 29 |
the test program is executed, the LCD will be initialized and the |
| 30 |
message "GPSIM WROTE THIS" will be repeatedly written. The LCD is |
| 31 |
not automatically updated, so you'll have to force a manual refresh |
| 32 |
by partially hiding the LCD window and then re-exposing it. |
| 33 |
|
| 34 |
|
| 35 |
This module has been integrated into the gpsim sources, so no |
| 36 |
seperate processes are required to build or install this module. |