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
And why are you repeating yourself, and creating a new thread?
What was wrong with this thread? http://www.keil.com/forum/docs/thread16740.asp
Same thing that's wrong with this thread: if it's assembler, it cannot possibly be generic - it must be specific to a particular architecture!
It's the same thing as the original thread which also specified "Generic".
Sorry I am using this thread system for the first time, I was not able to understand the reply in full hence, wanted to give the coding detail and seek clarification. Can you help pls
There are only two options:
If you want to start a new thread, you click the 'Start a Thread' link;
If you want to reply to a message in an existing thread, you click the button marked 'Reply'.
Easy - reply continues an existing thread.
"Start a thread" creates a new.
When continuing with the same subject, "Reply" obviously is the way to go, since you want all related information in a single thread. Remember that Google will not know when multiple threads are related. And after a while, the two threads can end up on different pages on this forum depending on the time of the last post in the thread.