在装配体中将键盘编程为8051 [英] Programming Keypad to 8051 in Assembly

查看:62
本文介绍了在装配体中将键盘编程为8051的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将3x4键盘连接到8051."*"用作取消"键,而#"用作Enter键.

用户有两个选择,要么可以使用自己的4位代码,要么使用默认的4位代码.如果用户必须设置自己的代码,则必须输入"1234"并按#".此后..控制器将要求输入5位数的主密码,该密码已在控制器中预编程.输入主锁,用户可以输入新的4位密码作为锁,然后按#"进行保存.

有人可以帮我在汇编中对此编程吗?

谢谢

I want to interface a 3x4 keypad to a 8051. ''*'' is used as the Cancel key and ''#'' is used as the Enter key.

The user has two options either he/she can use its own 4 digit code or use the default 4 digit code. If user has to do setup his own code, then he has to enter "1234" and press ''#''. After this.. controller will ask for 5 Digit master password which is preprogrammed in the controller. Entering master lock, user can enter the new 4 digit code for the lock and press ''#'' to save it.

Can anyone help me program this in assembly?

Thanks

推荐答案


这篇关于在装配体中将键盘编程为8051的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆