当前位置:网站首页>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 .
边栏推荐
- Practical operation notes - notebook plus memory and ash cleaning
- Only positive integers can be entered in the text box
- Qiniu cloud uploads video to get the first frame of video
- The acceleration of 100 km is only 5.92 seconds, and the willanda high-performance version leads with the strength of high-energy products
- QT(36)-rapidjson解析嵌套的json
- Meta & Berkeley proposed a universal multi-scale visual transformer based on pooled self attention mechanism. The classification accuracy in Imagenet reached 88.8%! Open source
- Apk slimming compression experience
- [distributed system design profile (2)] kV raft
- C#和C 的CAN通信实验
- redis + lua实现分布式接口限流实现方案
猜你喜欢
JMeter socket connection sends data
ros(24):error: invalid initialization of reference of type ‘xx’ from expression of type ‘xx’
Use of JMeter easynmon
【微服务|Sentinel】Sentinel快速入门|构建镜像|启动控制台
生成订单30分钟未支付,则自动取消,该怎么实现?
[microservices sentinel] cluster link | microservices cluster environment construction
Applet opening traffic master
热力图展示相关矩阵
Punch smart spirit 1. The brand is attractive. What is the strength of the product?
ServerSocket and socket connection
随机推荐
【微服务|Sentinel】簇点链路|微服务集群环境搭建
iNFTnews | 国内NFT发展仅限于数字藏品吗?
December 6, 2019 what happens after the browser enters a URL
Scrollview height cannot fill full screen
ros(25):rqt_ image_ View reports an error unable to load plugin for transport 'compressed', error string
Single blind box removal, social blind box and friend blind box program source code
@mysql
Can communication experiment between C and C
生成订单30分钟未支付,则自动取消,该怎么实现?
More pictures | explain the Nacos parameters in detail!
What is test development? Can you find a job at this stage?
热力图展示相关矩阵
Realization of MNIST handwritten numeral recognition
Databinding quick start (still using findviewbyid?)
redis + lua实现分布式接口限流实现方案
Using tcp/udp tools to debug the yeelight ribbon
QT(36)-rapidjson解析嵌套的json
Solution to network access packet loss of Tencent cloud international ECS
Meta & Berkeley proposed a universal multi-scale visual transformer based on pooled self attention mechanism. The classification accuracy in Imagenet reached 88.8%! Open source
A small program written this week