Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - Using two PWM outputs on pic16f877

(you are viewing a thread; or go back to list of threads)

Using two PWM outputs on pic16f877 (by Chombe Ghordy)
Hello,

I am interested if someone knew if I can use two pwm outputs form the pic16f877 with this program. As configured now, this program allows only pin 16 to be used as a pwm, and not pin 17.

Any ideas how to fix this?

Kind regards,
Chombe
Sat Oct 24 2009, 07:55:59
(no subject) (by Jonathan Westhues)
The second CCP unit is used to measure the PLC's cycle time, so it is not available to drive another hardware PWM pin.

It may be possible to do software PWM, like

http://cq.cx/ladder-forum.pl?action=viewthread&parent=3
Sat Oct 24 2009, 15:52:48
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):