Try the code below. I added some pause statements.
Code:'************************************************* *************** '* Name : HandHeld '* Author : John Moore '* Notice : Copyright (c) 2010 '* : All Rights Reserved '* Date : May 16, 2014 '* Version : 1.0 '* Notes : '* : '************************************************* *************** #CONFIG __config 10000111100001 #ENDCONFIG DEFINE LCD_DREG PORTB DEFINE LCD_DBIT 4 DEFINE LCD_RSREG PORTB DEFINE LCD_RSBIT 3 DEFINE LCD_EREG PORTB DEFINE LCD_EBIT 2 DEFINE LCD_BITS 4 DEFINE LCD_LINES 2 DEFINE LCD_COMMANDUS 1500 DEFINE LCD_DATAUS 44 CMCON = 7 TRISB = 0 ' make portb output. probably already done in lcd defines, but good habit to set all port dir. pause 1000 'let lcd initiate LCDOUT $FE, $01 START: LCDOUT "HELLO FKD" LCDOUT $FE, $C0 "UP WORLD!" pause 100 ' slow down GOTO START end





Bookmarks