zachavm
Joined: 23 Mar 2006 Posts: 9
|
multiple PWMs from a single 18 series pic |
Posted: Wed Apr 04, 2007 1:17 pm |
|
|
Hey guys, I'm trying to figure out if I can get 2 autonomous PWM signals from my 18 series pic. Currently, I'm using all the timers except timer 0. Also, I can't do it in the main code because I'm using the main code to monitor button presses and need those clock cycles. We're using the 18F458 pic. It only has one CCP module, but it does have an ECCP module. I just don't know what that is. I've read up on it a little, but I'm having trouble understanding it. Can I use it to create a second PWM without needing an additional timer? Is there another way that I'm not thinking of?
I didn't include my code here for simplicity sake, but I can post it at request. Thanks in advance. I've gotten a lot of help from this forum so far for this project and I appreciate it. |
|