|
@@ -308,8 +308,9 @@ lock
|
|
|
bcf PORTA, 4
|
|
|
bsf PORTA, 5
|
|
|
call delay100 ; Blocking 100ms delay
|
|
|
+ call delay100 ; Blocking 100ms delay
|
|
|
bsf PORTA, 4 ; Stop the motor
|
|
|
- call delay1000
|
|
|
+ call delay2000 ; Wait 2 seconds to charge the capacitor back up..
|
|
|
goto idle
|
|
|
|
|
|
|
|
@@ -320,9 +321,10 @@ unlock
|
|
|
bsf PORTA, 4
|
|
|
bcf PORTA, 5
|
|
|
call delay100 ; Blocking 100ms delay
|
|
|
+ call delay100 ; Blocking 100ms delay
|
|
|
bsf PORTA, 5 ; Stop the motor
|
|
|
|
|
|
- call delay2000
|
|
|
+ call delay2000 ; Wait 2 seconds to charge the capacitor back up.
|
|
|
goto enter
|
|
|
|
|
|
|