当前位置:网站首页>MCS-51单片机,定时1分钟,汇编程序
MCS-51单片机,定时1分钟,汇编程序
2022-08-03 22:52:00 【冰叶Lv】
MCS-51单片机,定时1分钟,汇编程序
去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片.
ORG 0000H
MOV R1,#200
MOV R2,#5
MOV TMOD,#01H ;设T0工作在方式1、定时
D1: MOV TL0,#0B0H ;T0设初值
MOV TH0,#3CH
SETB TR0 ;启动T0
WAIT:JNB TF0,WAIT ;等待定时到50ms
CLR TF0 ;清标志
DJNZ R1,D1 ;走200次,刚好是10秒
DJNZ R2,D1 ;再把200次,执行5次,一共就是1分钟。
CPL P2.0
END
边栏推荐
- rosbridge-WSL2 && carla-win11
- 软测人每个阶段的薪资待遇,快来康康你能拿多少?
- UVa 437 - The Tower of Babylon(白书)
- Interpretation of ML: A case of global interpretation/local interpretation of EBC model interpretability based on titanic titanic rescued binary prediction data set using interpret
- Network basic learning series four (network layer, data link layer and some other important protocols or technologies)
- 二叉搜索树解决落叶问题
- PowerMockup 4.3.4::::Crack
- The sword refers to the offer question 22 - the Kth node from the bottom in the linked list
- Optimize the query (work in progress)
- [b01lers2020]Life on Mars
猜你喜欢
![navicat 连接 mongodb 报错[13][Unauthorized] command listDatabases requires authentication](/img/09/a579c60e07cdc145175e72673409f7.png)
navicat 连接 mongodb 报错[13][Unauthorized] command listDatabases requires authentication

complete binary tree problem
![[MySQL Advanced] Creation and Management of Databases and Tables](/img/31/2015122e409148b3679b09a03db869.png)
[MySQL Advanced] Creation and Management of Databases and Tables

BMN: Boundary-Matching Network for Temporal Action Proposal Generation阅读笔记

Boss: There are too many systems in the company, can you realize account interoperability?

Scala基础【正则表达式、框架式开发原则】

113. 授人以渔 - 如何自行查询任意 SAP UI5 控件属性的文档和技术实现细节

The salary of soft testers at each stage, come to Kangkang, how much can you get?

云平台建设解决方案

"Digital Economy Panorama White Paper" Financial Digital User Chapter released!
随机推荐
How to write a database document management tool based on WPF (2)
Zilliz 2023 秋季校园招聘正式启动!
Testng listener
Golang第二章:程序结构
什么是memoization,它有什么用?
【day1】
noip preliminary round
RPA power business automation super order!
Golang第一章:入门
log4j-slf4j-impl cannot be present with log4j-to-slf4j
云平台建设解决方案
ML's yellowbrick: A case of interpretability (threshold map) for LoR logistic regression model using yellowbrick based on whether Titanic was rescued or not based on the two-class prediction dataset
网络基础学习系列四(网络层,数据链路层和一些其他重要协议或技术)
Embedded systems: overview
【RYU】rest_router.py源码解析
UVa 10003 - Cutting Sticks (White Book, Interval DP)
代码随想录笔记_动态规划_416分割等和子集
图的基础概念
for loop exercises
With the rise of concepts such as metaverse and web3.0, many digital forms such as digital people and digital scenes have begun to appear.