Hi Marin,
Is there more to this code which is unseen?
You should make it a practice to set your config fuses in code
and set the TRIS Registers too, also define your OSC speed.
Are you using a crystal, or resonator or are you trying to use
the internal osc?
Code:
DEFINE OSC 4 ' for 4 mhz osc
TRISA = %00001111 ' the ones stand for inputs
TRISB = %00000000 ' the zeros stand for outputs
Study this thread:
http://www.picbasic.co.uk/forum/show...iguration+fuse
Add this just before your first LCDOUT statement to allow the LCD time to initialize:
Pause 500 ' or a thousand or sometimes a little more 
HTH
JS
Last edited by Archangel; - 6th August 2007 at 04:49.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks