two pwm out 16f84.txt

来自「包括很多单片机开发用的元代码」· 文本 代码 · 共 21 行

TXT
21
字号

  ;**********************************************************************
; 
; PWM-C.asm 
; 06/14/2001 
; 1.00 
; 
;歌林电子制作实验室www.nbglin.com 
;**********************************************************************
list p=16F84 ; list directive to define processor
#include <p16F84.inc> ; processor specific variable definitions 
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_OFF & _RC_OSC

; '__CONFIG' directive is used to embed configuration data within .asm file.
; The lables following the directive are located in the respective .inc file.
; See respective data sheet for additional information on configuration word.


;********************** CONST DEFINITIONS******************************
FULL_WORK = 10 ;
DEF_WORK1 = 2 ; PWM1

⌨️ 快捷键说明

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