?? servosimples2.asm
字號:
title "PWMOut - Output a PWM Analog Voltage"
;
; This Application simply Outputs an Analog Voltage by Driving a
; Resistor/Capacitor ("RC") Network with a PWM signal.
;
; The PWM runs at 20 kHz, with a Duty Cycle range from 0 to 100%
; Demonstrated.
; This is an Actual PWM Duty Cycle Range of 0 to 50 Instructions/usecs
;
; Hardware Notes:
; This application runs on a 16F84 executing at 4 MHz
; _MCLR is tied through a 4.7K Resistor to Vcc and PWRT is Enabled
; A 10K Resistor/0.1 uF Capacitor Network is connected to RA0 to Show
; the PWM in Operation
;
; Myke Predko
; 99.12.27
;
; LIST R=DEC
; ifdef __16F84
; INCLUDE "p16f84.inc"
; else;
; ifdef __16F877
; INCLUDE 損16f877.inc
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -