Yes the 11 i wasn't sure how to deal with it. So I put it in there if it didn't work. I would have pulled it right out, but it did work in this case. Remember, it's been 15 years since I've done any...
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
...
Published on - 31st May 2010 17:24
Number of Views: 13566
Since this question has come up again, I thought I'd throw this module out to the masses. It is something I worked on a while back, with DT's help. Amid life's other priorities, it got put on the shelf to collect dust.
The basic idea is that by adding the module as an INCLUDE and inserting a couple of commands inside your code, you can have the PIC send timing data to your PC via the hardware serial port. It's made for 18F PICs (although some 16Fs may work too). You also need a timer that is not being used for anything else.
1) Instructions are included, as well as a small example.
2) It worked well for me, and as I recall, DT in testing.
3) Use it however you want.
4) I won't be able to offer much support, but figure there are enough knowledgeable folks around here that can help those who need it.
Re: Hwpw
Last post zip attachment
richard - 27th June 2025, 01:44