Quote Originally Posted by JAVEHE View Post
Hello! I have been trying to run the LCD example that comes with de Microcode studio, but is not working!
I'm use the BIGPIC5 that uses pic 18f8520 and i use basic lenguaje.
This is the code that i try to run:

DEFINE OSC 4
DEFINE LCD_DREG PORTB
DEFINE LCD_RSREG PORTA
DEFINE LCD_RSBIT 0
DEFINE LCD_EREG PORTA
DEFINE LCD_EBIT 2
DEFINE LCD_BITS 8
DEFINE LCD_LINES 2




Pause 500 ' Wait for LCD to startup


mainloop: Lcdout $fe, 1 ' Clear LCD screen
Lcdout $fe, "Hello" ' Display Hello
Pause 5000 ' Wait .5 second this is actually 5 seconds


Lcdout $fe, 1 ' Clear LCD screen
Lcdout $fe, "World"
Pause 500 ' Wait .5 second


Goto mainloop ' Do it forever


The only thing that i get is some leds blinking, but in the lcd not appear anything.
Please could you help me?
Make sure you have a 10K potentiometer set up so you can change the voltage on the VL pin to adjust the contrast. Not the change above in your code, whenever you use the lcdout command you need the $fe as shown in red above.