display1 movf DIGIT,w
xorlw A'A'
btfss STATUS,Z
goto CheckA
goto PAS1
CheckA movf DIGIT,w
xorlw A'B'
btfss STATUS,Z
goto CheckB
goto PAS2
CheckB call Insert
This example of programming that
have been wrote in MPLAB. This program is activating when key ‘A’ and LCD will
display ‘set password 1’. Then this programming is to scan the input have been
key in by user. The process is looping 5 times because entered password is 5
bits.
No comments:
Post a Comment