Download usb door lock using fingerprint biometrics technology

Transcript
Symbol Btn02 = PORTB.2
Symbol Btn03 = PORTB.3
Symbol doorSW = PORTB.4
Dim reqFlag As Bit
On_Interrupt GoTo iHandler
GoTo mainCode
iHandler:
Context Save
If INTF = 1 Then
While GIE = 1
GIE = 0
Wend
INTE = 0
reqFlag = 1
EndIf
Context Restore
mainCode:
Dim SrceSize As Dword
Symbol sz01 = SrceSize.Byte0
Symbol sz02 = SrceSize.Byte1
Symbol sz03 = SrceSize.Byte2
Symbol sz04 = SrceSize.Byte3
Dim charPTR As Dword
Dim userOK As Bit
Dim uiL As Byte
82