📄 servosimples2.lst
字号:
MPASM 5.03 SERVOSIMPLES2.ASM 4-8-2008 15:16:13 PAGE 1
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
Warning[205]: Found directive in column 1. (title)
00001 title "PWMOut - Output a PWM Analog Voltage"
00002 ;
00003 ; This Application simply Outputs an Analog Voltage by Driving a
00004 ; Resistor/Capacitor ("RC") Network with a PWM signal.
00005 ;
00006 ; The PWM runs at 20 kHz, with a Duty Cycle range from 0 to 100%
00007 ; Demonstrated.
00008 ; This is an Actual PWM Duty Cycle Range of 0 to 50 Instructions/usecs
00009 ;
00010 ; Hardware Notes:
00011 ; This application runs on a 16F84 executing at 4 MHz
00012 ; _MCLR is tied through a 4.7K Resistor to Vcc and PWRT is Enabled
00013 ; A 10K Resistor/0.1 uF Capacitor Network is connected to RA0 to Show
00014 ; the PWM in Operation
00015 ;
00016 ; Myke Predko
00017 ; 99.12.27
00018 ;
00019 ; LIST R=DEC
00020 ; ifdef __16F84
00021 ; INCLUDE "p16f84.inc"
00022 ; else;
00023 ; ifdef __16F877
00024 ; INCLUDE 損16f877.inc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -