Sceadwian
Banned
Right, you use two timers, one PWM timer, and the other one set at the length of a bit. The exact frequency of the carrier signal is flexible because it's so low and even a slow PIC isn't going to have a problem generating the baud rate required with enough accuracy. Every time you get a compare match or an overflow on your bit length timer you set the PWM on or off based on table data. A LOT of instructions can be run in that idle time and the slight jitter that the running code creates is going to be negligible.