
Originally Posted by
malc-c
That's because the LCD on the EP5 uses port B not port E. Try
Code:
DEFINE LCD_DREG PORTB
DEFINE LCD_DBIT 0
DEFINE LCD_RSREG PORTB
DEFINE LCD_RSBIT 4
DEFINE LCD_EREG PORTB
DEFINE LCD_EBIT 5
DEFINE LCD_BITS 4
DEFINE LCD_LINES 2
DEFINE LCD_COMMANDUS 2000
DEFINE LCD_DATAUS 50
This works with the 2 x 16 LCD that MikroElectronica supply with the EP5
Hi, MW
those lines work fine with all the "classical" HD 44780 compatible devices ...
may be some special characters are different ... but it works !
Now, for learning you can download an old EPE paper about "intelligent LCDs" (Feb / March 1997 issue )
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks