Hello, I have LCD connected to PIC16F616
This is code LCD configuration
DEFINE OSC 4
Include "MODEDEFS.BAS"
DEFINE LCD_DREG PORTC
DEFINE LCD_DBIT 2
DEFINE LCD_RSREG PORTC
DEFINE LCD_RSBIT 0
DEFINE LCD_EREG PORTC
DEFINE LCD_EBIT 1
DEFINE LCD_BITS 4
DEFINE LCD_LINES 2
DEFINE LCD_COMMANDUS 2000
DEFINE LCD_DATAUS 50
RW pin in LCD to GND
and
TRISA = %00111111
TRISC = %00000000
ANSEL = %00000011
I write in LCD and not working, wrong characters in LCD and ISIS simulation no working with my simple hello world code..
idea?
Bookmarks