Create an assembly application for the pic microcontroller to operate a digital lock on a storage
You should design your application using an appropriate method (flowchart/pseudo code) and then implement this on PICSIM board 1. The specification of what is required is as follows:
You will use two buttons (RA1 and RA2) to cycle up and down the 16 codes available, and use a third button (RA3) to select that code. You will display the code as an LED bit pattern on portB (bits 0:3).
If the code is the same with a predefined password when selected you will open the lock (shown by turning on the RA0 LED).
To close the lock, you will need to set the correct code then press the OK button (RA3) again,
also turning off RA0.
If the lock is open, you can change the password by selecting a new code using the up and down buttons then pressing RA4.