Thanks Alain (was that for me, or Ken??),
But I currently am able to encode 1 channel while decoding 5 channels with the below code:
http://scalerobotics.com/PWMpassthrough.html
And soon should be able to add 3 outputs, and have 4 encoded channels out, while decoding 5 channels in with the pic12f683 (and 3 diodes).
But, what I can't get my head around is how to ensure the CCP1 interrupt starts the first time on RC channel 1 (first pulse). It needs to look for a low of 3ms or so, to ensure channel 1 is looking at channel 1.
Oh .... and I need to do this in ASM.
Thanks for any help you can offer.
Bookmarks