I would like me to help me with a micro processor assignment. I have started and completed the program requested but still need to test the program provide a flowchart for the program and show some simulations that the project works on the simulator. Can you help with this please?Regards
rob
Task Two (P2.2) : Programs to implement electronic code lock using C language.# include
# define port P1
# define dataport P2
# define key P0
# define sec 100sbit rs = port^0;
sbit rw = port^1;
sbit en = port^2;sbit col1 = key^4;
sbit col2 =key^5;
sbit col3 = key^6;sbit row1 = key^0;
sbit row2 = key^1;
sbit row3 = key^2;
sbit row4 = key^3;
sbit lock_output = P0^7;int check = 0;
int digit[4] = {0000};
int dig_input[4] = {0000};
int dig_input_recheck[4] = {0000};int i k;void delay(unsigned int msec) // Time delay function
{
int i j;
for(i=0; i