> Why using a second pin?  Just set low the
> corresponding CCP pin after
> turning the PWM off.

I wrote it: No software is needed then. A comparator sets the second pin to 
high or low according to the input signal, and the PWM gives continuous pulses. 
The built-in peripherals do all the work on their own. The only needed program 
is initializing the PWM and the comparator modules.

In fact, no controller would be needed at all... A 38kHz oscillator, IR 
reciever and IR LED would suffice. But a decent oscillator is more expensive 
than a controller, abused as oscillator ;-)

Greets,
Kiste

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to