当前位置:网站首页>[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 ÿ
边栏推荐
猜你喜欢
![[Qt5 tab] tab label and content hierarchical analysis](/img/cc/c8c2e79877a958f742a8e9e60ceb43.png)
[Qt5 tab] tab label and content hierarchical analysis

The personal test is effective, and the JMeter desktop shortcut is quickly created

远程办公如何保持高效协同,实现项目稳定增长 |社区征文

Mathematical knowledge: finding combinatorial number III - finding combinatorial number

Log logrus third party library usage

go导入自建包

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

那些一门心思研究自动化测试的人,后来怎样了?

工作八年的程序员,却拿着毕业三年的工资,再不开窍就真晚了...

After working for 6 years, let's take stock of the golden rule of the workplace where workers mix up
随机推荐
[Agora] user management
一站式洞察行业热点,飞瓜数据B站新功能「流量大盘」上线!
AS400 大廠面試
How to select securities companies? In addition, is it safe to open a mobile account?
[dynamic planning] path dp:931 Minimum Falling Path Sum
短视频平台开发,依靠DrawerLayout实现侧滑菜单效果
TypeError: Argument ‘angle‘ can not be treated as a double
直播商城源码,实现左右联动商品分类页面
With regard to the white box test, you have to master these skills~
软件开发中的上游和下游
[fundamentals of wireless communication-14]: illustrated mobile communication technology and application development-2-the first generation mobile analog communication big brother
Some essential differences
Thinking about business and investment
哪有什么未来可期,不过是打工人临死前最后的幻想罢了
Sort custom function
P6773 [NOI2020] 命运(dp、线段树合并)
php将二维数组元素转为键值对
Handsontable data grid component
1500w播放下还藏着什么热点?B站2个未来趋势你不得错过
Last day of the second quarter