RICHARD I need to change porta4 hwpw to another port i tried ccp3con and ccpr3l changed the ccptmrs0 but nothing works I have something else on a4 on the boards im using
RICHARD
I reloaded your program exactly and it gave me
12.54khz with a duty of 48.75 PW on channel A1
8.02khz with a duty of 49.61 on channel C2
10.02khz with a duty of 50.01 on channel B0
...
I will rerun tomorrow and post scope pictures. Its
definitely possible. I did something wrong. I am only running at 40 MHz. At this time, I have 16 mhz crystal's coming.
Walking and talking on the phone does not work well.
I ran your program my scope has measure function all 3 channels showed the same frequency. But the duty cycle was the only difference. I used...
Re: Hwpw
first question how do you get the code box to post into
l_gaminde Yesterday, 18:50OK I was able to change the port from port a4 to port b5 now I need to figure out this
CCP4CON = $0C ; PWM MODE + DUTY LSB 2...