📄 pwmdemo.txt
字号:
Title: pwmdemo
Target: PIC18C242
Description:
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 + -