{

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);

  • UC3846控制芯片工作原理控制图 逆变焊机原理与用途
  • 数字万用表电阻档测试二极管正反向没有阻值(使用万用表测量二极管的正向电阻,为什么各档)
  • 学单片机需要学数电模电吗(学单片机要先学数电模电吗)
  • 电工怎么选择适合自己用的万用表(电工初学者买什么样的万用表好)
  • 单片机需要同时运行多个任务怎么办(单片机怎么同时执行多个任务)
  • 电机保护的方案取决于负载的机械特性
  • 绝缘电阻表正负搭接不复零位是怎么回事
  • 短路怎么用万用表查