We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
i would like to display the numbers in LCD, i am using a count button, for each increment upt o 9 i am able to display after that i have problem, following is the code i used
;***********subroutin NUMBER MOVLW 2 ;enables the display MOVWF PORTA MOVLW 3H MOVWF PORTB CALL CLOCK MOVF COUNT,W ; count is the vasriable from the push button MOVWF PORTB CALL CLOCK ;clock character onto display. RETLW 0
;*******display*************
MSG15 ; NUMBER DISPLAY MOVLW 0CH ;Cursor on second line, C3 CLRF PORTA MOVWF PORTB CALL CLOCK MOVLW 04H MOVWF PORTB CALL CLOCK CALL NUMBER ; is from soubroutin CALL DELAY RETLW 0
;************main program
i call MSG15 ; to display
It's the same thing as the original thread which also specified "Generic".