display:
LCDOut $fe,1
dhour = hour
IF (hour//12) = 0 Then
dhour = dhour + 12
EndIF
IF hour < 12 Then
LCDOut DEC2 dhour,":",DEC2 minute,":",DEC2 second, "AM"
LCDOut $fe,$c0,"Simple Test"
Else
LCDOut DEC2 (dhour - 12),":",DEC2 minute,":",DEC2 second, "PM"
LCDOut $fe,$c0,"Simple Test"
EndIF
pause 100 ' pause for .1 sec
GoSub timing
GoTo display
thanks for the help. but i still cannot get display Simple test in LCD second line.
is it my coding problem or my connection to LCD(i use last 4 bit to connect).
if i use
LCDOUT "hello"
LCDOUT $fe,$c0,"simple test"
it come out as i want.but with the above coding, it didn't show out.
Bookmarks