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

📄 pwmdemo.txt

📁 Hitech microchip PIC C18 Compiler
💻 TXT
字号:
Title: pwmdemoTarget: PIC18C242Description:    A sample project file to be used with HI-TIDE, to    demonstrate simulation of Pulse Width Modulation.Controls:    The virtual IO display has 2 potentiometers. the first is to    control the PWM period, the second controls the duty cycle.    Both period and duty cycle are affected by the timer 2 prescale.    The prescale of timer 2 can be set using the DIP switch panel.Connections to the PIC18C242:    Potentiometer 1  -> PORTA0 (analog ch0)    Potentiometer 2  -> PORTA1 (analog ch1)    DIP switch [0:1] -> PORTA [2:3]    LED -> PORTC2 (CCP1 output)

⌨️ 快捷键说明

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