⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.a51

📁 that is an example for pluse width modulation and that programe is written by c++
💻 A51
字号:
;******************************************************
; 2002-08-10 by Johnson Chang, 8051.24cc.com john3055@yam.com
; Description:
;	PWM controller by 2 push bottom switches
;	SW3 is the increament switch. Pulse width increased when SW3 pressed
;	SW1 is the decreament switch. Pulse width decreased when SW1 pressed
;	T=5mS
;	Pulse Width = 0.1mS - 4.99mS
;******************************************************
;	跑计﹚竡跋
PW	equ	4 ;=R4
T	equ	5 ;=R5
;
SW1	equ	P1.4	;オ 龄
SW2	equ	P1.5	;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -