{
command(0x01);
command(0x80);
displaydata(“RIGHT PASSWORD”);
delay(50);
m=0;
n=0;
goto LOCKER14;
}
else
{
command(0x01);
command(0x80);
displaydata(“WRONG PASSWORD”);
delay(50);
goto LOCKER15;
}
}
LOCKER7:
if(n《4)
{
lcddisplaydata(‘*’);
goto LOCKER5;
}
else if(n==4)
{
lcddisplaydata(‘*’);
delay(50);
if(array1[1]==array2[1]&&array1[2]==array2[2]&&array1[3]==array2[3]&&array1[0]==array2[0])
{
goto LOCKER4;
}
else
{
goto LOCKER12;
}
}
LOCKER8:
if(n《4)
{
lcddisplaydata(‘*’);
goto LOCKER5;
}
else if(n==4)
{
lcddisplaydata(‘*’);
delay(50);
if(array3[1]==array2[1]&&array3[2]==array2[2]&&array3[3]==array2[3]&&array3[0]==array2[0])
{
command(0x01);
command(0x80);
delay(10);
displaydata(“New Password has”);
command(0xC3);
displaydata(“been set”);
delay(100);
command(0x01);
m=0;
goto LOCKER1;
}
else
{
goto LOCKER13;
}
}
LOCKER9:
if(n《4)
{
lcddisplaydata(‘*’);
goto LOCKER5;
}
else if(n==4)
{
lcddisplaydata(‘*’);
delay(50);
m=0;
goto LOCKER10;
}
LOCKER10:
{
command(0x01);
command(0x80);
delay(10);
displaydata(“Conform Password”);
delay(50);
command(0x01);
q=3;
n=0;
goto LOCKER5;
}
LOCKER11:
if(n《4)
{
lcddisplaydata(‘*’);
goto LOCKER5;
}
else if(n==4)
{
lcddisplaydata(‘*’);
delay(50);
if(array1[1]==array2[1]&&array1[2]==array2[2]&&array1[3]==array2[3]&&array1[0]==array2[0])
{
bu=0;
goto LOCKER1;
}
else
{
goto LOCKER16;
}
}
LOCKER12:
{
command(0x01);
command(0x80);
m++;
if(m《3)
goto LOCKER3;
else
bu=1;
delay(500);
bu=0;
goto LOCKER1;
}
LOCKER13:
{
command(0x01);
command(0x80);
m++;
if(m《3)
goto LOCKER10;
else
goto LOCKER1;
}
LOCKER14:
{
m1=1;
m2=0;
delay(125);
m1=0;
m2=0;
while(mp!=0);