The backspacing and what not are very easy for me to figure out in fact I have several methodsmy main concern is arrays and to understand them I have been reading on what you said earlier about using byte size and honestly when I read that after you told me I almost punched myself in the gut because my brain immediately was like "oh yea...."
The Keypad routine currently just gets the keys it does nothing else I myself display it on the lcd.
******
gosub getkey
LOOKUP key,["ABCDEFGHIJ"],Char
how does this work I have seen this before but I could never wrap my hands around it and get the feel for it.
*******
Finished VAR BIT : Finished = 0 ;;I'm a little confused here are you commenting it or is it part of the declaration?( : Finished = 0 )
StrLen VAR BYTE : StrLen = 0 ;; Same thing is it just being commented on?( : StrLen = 0 )
while not Finished ;; is not part of PBP? in my book it does not even suggest anything of this nature
gosub getkey ;;Understand this portion
if Char != EOM then ' End of message key ;;is char the key that is received from the keypad?
htxt(StrLen) = Char ;;I understand this portion just need to know what Char is
LCDOUT Char
StrLen = StrLen + 1 ;;Does this increment to next position?
endif
Finished = 1
endif
wend
SEROUT2 PORTD.0, 813, [STR htxt\StrLen,13,10] ;; May I still use SEROUT or Must I use SEROUT2. ( [STR htxt\StrLen,13,10] I do not full Understand this portion could you explain to me what this is doing?) Also why do you have 2 endif statements?
Forgive me for my ignorance I have been writing assembly for about 2 years now and I heard PBP was the next step and its been fun just a couple of walls I have to climb over frankly biggest wall is this array problem! I never had to deal with arrays before.
Thank You Soo Much for taking the time and effort to help me I understand you have much better things to attend to and I appreciate all that your willing to do to help me!
Bookmarks