Apples it is ..
Built a 16F877A breadboard. With LCD on the above mentioned ports.
Still haven't hooked up the ribbon yet, just wanted 1 LCD at this point.
Here's the Breadboard.
Click image to enlarge
And here's the program it's running.Can you see anything I've done different??Code:@ __config _HS_OSC & _WDT_OFF & _LVP_OFF & _CP_OFF ADCON1 = 7 CMCON = 7 DEFINE OSC 4 ;----[ Change these to match your LCD ]--------------------------------------- LCD_DB4 VAR PORTB.0 LCD_DB5 VAR PORTB.1 LCD_DB6 VAR PORTB.2 LCD_DB7 VAR PORTB.3 LCD_RS VAR PORTB.4 LCD_E VAR PORTB.7 LCD_Lines CON 2 ' # of Lines on LCD, 1 or 2 (Note: use 2 for 4 lines) LCD_DATAUS CON 50 ' Data delay time in us LCD_COMMANDUS CON 2000 ' Command delay time in us INCLUDE "LCD_AnyPin.pbp" ; *** Include MUST be AFTER LCD Pin assignments **** PAUSE 500 : LCDOUT $FE,1 : PAUSE 250 ; Initialize LCD (You may not need this, ; but some displays are picky) LCDOUT $FE,1,"Hello wildbilly",$FE,$C0,"Must be something",$FE,$94,"In the Hardware" Main: ; toggle LED pause 1000 goto Main
<br>





Bookmarks