Can you use the I/O pins on the XBee module for PWM? and hard hard would it be?
I would like to drive a RBG Led directory of the module but it has only one biult in PWM output and I need three.
Transmitting a value to be used to determine the PWM duty cycle is fine, say with the ccp/pwm module. Transmitting a PWM signal thinking the timing will be faithfully reproduced is not.
If you don't really care about faithful reproduction of the pulse widths, then I don't see a problem. As for the "compare/capture/PWM " module, check out the 16F628 data sheet, page 57 (Chapter 9.0). You will see what I mean about setting the duty cycle numerically. That module is very common in PIC chips.