gnupic: Please help me with a gpsim thing
Subject:
Re: Please help me with a gpsim thing
From:
Scott Dattalo ####@####.####
Date:
23 Jan 2002 14:05:06 -0000
Message-Id: <Pine.LNX.4.33.0201230546360.11174-100000@ruckus.brouhaha.com>
On Wed, 23 Jan 2002, Christian Alexander Valdivia wrote:
> I'm using gpsim and gpasm...the simulator works fine so far...but I don't
> know how to load the lcd module or how to make it works, configure,m etc.
> Please enlighten me. Thanx a lot for your time.
If you have gpsim installed then the example project in the LCD module
distribution should work for you. This is what you need to do to install
the LCD module:
grab the latest version of the LCD module:
http://www.dattalo.com/gnupic/lcd.html
(currently, 0.1.1 is the latest)
unpackage it, build it, and install it:
tar -xvzf lcd-0.1.1.tar.gz
cd lcd-0.1.1
./configure
make
su
make install
exit
At this point the LCD module is "ready to use".
In the lcd-0.1.1/examples subdirectory there is a fairly extensive project
illustrating the usage of the LCD module. You can try it out by doing
this:
cd lcd-0.1.1/examples
gpasm lcd_mod.asm
gpsim -c lcd_mod.stc
The startup command file script, lcd_mod.stc, will load a 2X20 character
LCD and attach it to the PIC (a 16C64 in this case). You should be able to
run it and see the lines "GPSIM WROTE THIS".
If you have any questions, please don't hesitate to ask. The whole module
thing is poorly documented.
Scott