当前位置:网站首页>51 single chip microcomputer multi computer communication
51 single chip microcomputer multi computer communication
2022-06-25 01:02:00 【xuechanba】
Video learning link : https://www.bilibili.com/video/BV1pi4y147A6?spm_id_from=333.880.my_history.page.click&vd_source=b91967c499b23106586d7aa35af46413


Only used in case of multi computer communication SM2 , In general, do not use .

TB8 It is used when sending data , And RB8 Corresponding .


The ninth digit of the data is the check digit .
The difference between serial mode 2 and mode 3 is , The baud rate of serial mode 2 is fixed , There are only two options , The baud rate of mode 3 is determined by the timer T1 Is determined by the overflow rate , That is, mode 3 is a working mode with variable baud rate .
therefore , When working in mode 3 , First, understand the communication sequence of mode 3 ,






When other events are handled between processes , If there is an interruption , Execute the corresponding interrupt program .


Each time the host key is pressed , Add... To the count result 1 , At the same time, the counting result is displayed on the nixie tube . And when the switch is grounded , Send to 1 Single chip microcomputer No . When the switch is connected to high level , Send to 2 Single chip microcomputer No . After each slave receives the data, it should display the receiving result on its own digital tube .





After sending the slave address , Or during key counting , Interrupt requests may occur .
If RB8 The value of is 1 Words , Is the address signal , If RB8 The value of is 0 Words , Data signals .
Finally, the program code and simulation are uploaded to the data file .
边栏推荐
- Virtual machine - network configuration
- D omit parameter name
- Practical operation notes - notebook plus memory and ash cleaning
- adb shell sendevent
- 生成订单30分钟未支付,则自动取消,该怎么实现?
- 我想问一下兴业证券怎么开户?通过链接办理股票开户安全吗
- Unimportant tokens can be stopped in advance! NVIDIA proposes an efficient visual transformer network a-vit with adaptive token to improve the throughput of the model
- Tiktok wallpaper applet v1.0.2 function, new arrival function
- I 刷题 I — 复制带随机指针的链表
- @mysql
猜你喜欢

Databinding quick start (still using findviewbyid?)

2021-09-12
Outer screen and widescreen wasted? Harmonyos folding screen design specification teaches you to use it

ServerSocket and socket connection

Activity startup process
![[redis realizes seckill business ③] specific implementation of optimistic lock for oversold problem](/img/01/5ec4e5dae1748dce3d5dee33a24b0b.png)
[redis realizes seckill business ③] specific implementation of optimistic lock for oversold problem

VNC viewer remote connection raspberry pie without display

Decoupling pages and components using lifecycle
![[microservices sentinel] cluster link | microservices cluster environment construction](/img/75/3cc6abf1e72d651b082415db9db46c.png)
[microservices sentinel] cluster link | microservices cluster environment construction

Xcode preview displays a bug in the content of the list view and its solution
随机推荐
Xcode预览(Preview)显示List视图内容的一个Bug及解决
How to quickly open traffic master for wechat applet
Simple collation of Web cache
C#和C 的CAN通信实验
傳輸層 以字節為單比特的滑動窗口技術
【微服务|Sentinel】实时监控|RT|吞吐量|并发数|QPS
Go crawler framework -colly actual combat (II) -- Douban top250 crawling
More pictures | explain the Nacos parameters in detail!
Use of navigation and navigationui
Infotnews | is the development of domestic NFT limited to digital collections?
[Solved] Public key for mysql-community-xxx. rpm is not installed
I brush the question I - copy the linked list with random pointer
C# 闭包的垃圾回收
108 pages (40000 words) proposal for future apartment intelligent design platform project (version 2022)
Android SQLite database
在企业级开发过程中我发现有位同事用select * from where 条件 for update
Thermodynamic diagram display correlation matrix
Applet opening traffic master
2022R1快开门式压力容器操作考题及答案
Paint rounded rectangle