当前位置:网站首页>[proteus simulation] Arduino UNO +74c922 keyboard decoding drive 4x4 matrix keyboard
[proteus simulation] Arduino UNO +74c922 keyboard decoding drive 4x4 matrix keyboard
2022-07-01 01:49:00 【perseverance52】
【Proteus Simulation 】Arduino UNO +74C922 Keyboard decoding driver 4X4 Matrix keyboard
- Proteus Simulation

This example uses 74C922 Decoding chip , Make the program code very simple , When pressing different keys , The nixie tube will display the corresponding key value . It's mainly about AVR Familiarity and understanding of operating instructions , stay Arduino It is operated in a bus mode IO Oral state , Than traditional
ArduinoThe encapsulation instructions of will appear more concise and direct . faceArduinoProgramming , We should not limit ourselves to learning and mastering one kind of instruction operation mode .AVR Operating instructions are equivalent to taking offArduinoPackaging layer , So as to approach the register .
AVR Knowledge of operating instructions
- AVR Single chip microcomputer IO Port is a standard two-way port , First, set IO The state of the mouth , namely : Input or output .
DDRx Register is AVR MCU port direction register , By setting DDRx You can set x The state of the port .
DDRx The corresponding bit of the port direction register is set to 1 Corresponding x The corresponding bit of the port is the output state ,DDRx The corresponding bit of the port direction register is set to 0 Corresponding x The corresponding bit of the port is the input state .
- for example :
DDRA = 0xFF; // Set port A All ports are in output state ÿ
边栏推荐
- With regard to the white box test, you have to master these skills~
- 模板:全局平衡二叉树
- 思特奇加入openGauss开源社区,共同推动数据库产业生态发展
- More pragmatic in business
- 一站式洞察行业热点,飞瓜数据B站新功能「流量大盘」上线!
- 如何选择券商?另外,手机开户安全么?
- New opportunities for vr/ar brought by metauniverse
- Qt5 mvc: revealing the secrets of data visualization
- 【Proteus仿真】Arduino UNO +74C922键盘解码驱动4X4矩阵键盘
- Upstream and downstream in software development
猜你喜欢

3dsmax plug-in development traversal node object and object acquisition and inode transformation matrix description

软件开发中的上游和下游

亲测有效,快速创建JMeter桌面快捷方式

Batch import of Excel data in applet

Necessary tools for testing - postman practical tutorial

Fast understanding of forward proxy and reverse proxy

There is no future to be expected. It is just the last fantasy of a migrant worker before he dies

软件测试的可持续发展,必须要学会敲代码?

go导入自建包

思特奇加入openGauss开源社区,共同推动数据库产业生态发展
随机推荐
[Qt5 basics] random number display
Lecun, a Turing Award winner, pointed out that the future of AI lies in self-learning, and the company has embarked on the journey
医疗HIS行业短信发送解决方案
【多源bfs】934. Shortest Bridge
[无线通信基础-15]:图解移动通信技术与应用发展-3- 数字通信2G GSM、CDMA、3G WDCMA/CDMA200/TD-SCDMA、4G LTE、5G NR概述
计算特殊奖金
迪赛智慧数——其他图表(平行坐标图):2021年应届专业就业情况
Open3d point cloud bounding box
【Content-Type请求头的内容】
Sécurité et santé microbiennes, qu'est - ce que le traitement biologique?
3500 word summary: a complete set of skills that a qualified software testing engineer needs to master
静态域与静态方法
如何选择券商?另外,手机开户安全么?
正向代理和反向代理快速理解
Try new possibilities
股票开户有哪些优惠活动?另外,手机开户安全么?
Sitge joined the opengauss open source community to jointly promote the ecological development of the database industry
【JS给元素添加属性:setAttribute;classList.remove;classList.add;】
int和位数组互转
数学知识:满足条件的01序列—求组合数