I have been looking to built an infrared transmitter with the MCP2122 IrDA Encoder/Decoder.

Has anyone been successful implementing the 16xCLK?

I have everything setup and have everything setup but cannot get the 16xCLK implemented in PICBASIC. Microchip has an application note "AN946" with source but with it in assembly I do not understand.

I do know the following are correct for a PIC16F628 running at 4Mhz.

CCPR1L = 2
PR2 = 5

The 16xCLK will need to be 153,600k!

Thanks for your help,

Scott