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

📄 servosimples2.sdi

📁 Code ASM for PIC16F628. Use for CNC/Servo Motor. With simulatio in Proteus (7.0)
💻 SDI
字号:
,,,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 + -