PWM

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Kuntzinger
Posts: 2
Joined: Wed Apr 13, 2016 10:16 am

PWM

Post by Kuntzinger »

Hello,

I try to program a EB022-2 block into 4 quad with a EB061 (ECIO40 pwm2 RB3). I can vary the speed by varying CCP2, but in one direction only.
How can we vary the speed in the other direction of rotation?

thanks for your advices

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times

Re: PWM

Post by kersing »

I moved you post to a more appropriate part of the forum. The "Tips and Tricks" sections is for sharing your knowledge with others, not for questions.

Generally it helps if you post your flowchart when asking questions. It provides a lot of information the components you use and your code that helps answering questions.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

Post Reply