当前位置:网站首页>Simple square wave generating circuit [51 single chip microcomputer and 8253a]
Simple square wave generating circuit [51 single chip microcomputer and 8253a]
2022-07-02 23:13:00 【The universe is hidden in the book】

/*8253 Timed square wave generation experiment instrument 11802 Ma Wei */
#include<reg51.h>
#include<absacc.h>
#define CMD_ADDR XBYTE[0x7FFB]// Address of the command register
#define TIMER0_ADDR XBYTE[0X7FF8]// Counter 0 Initial value counter
void main()
{
// The command register is 00110110, The counter 0, First low then high , The way 3, Binary
CMD_ADDR=0x36;
// Assign a value to the counter from low to high 0
TIMER0_ADDR=0x52;
TIMER0_ADDR=0x09;
while(1);
}
边栏推荐
- Chow-Liu Tree
- 容器化技术在嵌入式领域的应用
- 抖音实战~点赞数量弹框
- Catalogue of digital image processing experiments
- Warning: implicitly declaring library function 'printf' with type 'int (const char *,...)‘
- Jerry's fast touch does not respond [chapter]
- Mask R-CNN
- Niuke network: maximum submatrix
- 提交代码流程
- Lc173. Binary search tree iterator
猜你喜欢

景联文科技低价策略帮助AI企业降低模型训练成本

Construction of Hisilicon 3559 universal platform: draw a frame on the captured YUV image

Is 408 not fragrant? The number of universities taking the 408 examination this year has basically not increased!
![[Solved] Splunk: Cannot get username when all users are selected“](/img/13/1e824c8005701e21fc5b4e73308d53.png)
[Solved] Splunk: Cannot get username when all users are selected“

4 special cases! Schools in area a adopt the re examination score line in area B!
![[adjustment] postgraduate enrollment of Northeast Petroleum University in 2022 (including adjustment)](/img/a3/d8421ea1539eba08bf7a5a629d92e6.jpg)
[adjustment] postgraduate enrollment of Northeast Petroleum University in 2022 (including adjustment)

Splunk audit 的设定

Motivation du Protocole de chiffrement avancé AES

Chow-Liu Tree

Prometheus deployment
随机推荐
Pytorch training CPU usage continues to grow (Bug)
RecyclerView结合ViewBinding的使用
Alibaba cloud award winning experience: how to use polardb-x
psnr,ssim,rmse三个指标的定量分析
Ping domain name error unknown host, NSLOOKUP / system d-resolve can be resolved normally, how to Ping the public network address?
How does Jerry test the wrong touch rate of keys [chapter]
Li Kou brush questions (2022-6-28)
Doorplate making C language
Realize the linkage between bottomnavigationview and navigation
Value sequence < detailed explanation of daily question >
Use the scroll bar of souI when using the real window in souI
Start from the bottom structure to learn the customization and testing of FPGA --- Xilinx ROM IP
The difference between new and make in golang
Configuration clic droit pour choisir d'ouvrir le fichier avec vs Code
静态文件显示问题
FOC矢量控制及BLDC控制中的端电压、相电压、线电压等概念别还傻傻分不清楚
Deep analysis of data storage in memory - C language
1px pixel compatibility of mobile terminal, 1px border
Chow-Liu Tree
Pandora IOT development board learning (HAL Library) - Experiment 3 key input experiment (learning notes)