完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
unsigned char CRC=0;
for(i=0;i if(ReadByteByAddress(PasswordSaveAddr+i) == Password[i])++CRC; } if(CRC==PasswordLength) { LockState = 0; FSM_MasterS_WorkMode = S1; s1_flag=1; PressErrorCnt = 0; //清密码输入错误的计数器 GotoXY(0,0); Print( " Succeed open "); GotoXY(0,1); Print( " By Myself "); Lock_IO=0; P36=1; P37=0; Delay1ms(500); Delay1ms(500); Delay1ms(500); Delay1ms(500); Delay1ms(500); Delay1ms(500); Delay1ms(500); Delay1ms(500); Delay1ms(500); Delay1ms(500); P37=1; } 帮我看看CRC在这段函数中起什么作用 |
|
相关推荐 |
|
只有小组成员才能发言,加入小组>>
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 00:31 , Processed in 0.544511 second(s), Total 47, Slave 36 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号