epwmdemo.txt
来自「Hitech microchip PIC C18 Compiler」· 文本 代码 · 共 31 行
TXT
31 行
Title: epwmdemoTarget: PIC18F458Description: A project to demonstrate the extended PWM ability of the PIC18F4x8 devices.Controls: Two DIP switches are used in this project. The first selects which PWM mode the device will operate in. For example, single output, half-bridge, full-bridge. The second DIP switch determines that the active output level for the PWM output pairs. PWM period and duty are modified using the potentiometers. The output of the PWM pairs is displayed on the logic analyser and on the LED display. The current mode of operation is readable in the serial IO window.Connections to the PIC18F458: DIP switch [1:2] -> PORTC [0:1] DIP switch [1:2] -> PORTC [3:2] (reverse connect) Potentiometer 1 -> PORTA0 (period) Potentiometer 2 -> PORTA1 (duty cycle) Analyser [0:3] -> PORTD [4:7] LED [1:4] -> PORTD [4:7]
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?