Seahound,
Take a look at the table (Table 1) on page 4 of the datasheet.
From what I can see, you can move the RX pin for the USART from RB1 to RB2. The SDA1 for I2C can not be moved, and is on RB1. SCL1 for I2C is on RB4. And TX fro the USART can be moved between RB2 and RB5. So here is how it should fall out:
I2C:
RB1 SDA1
RB4 SCL1
USART
RB2 RX
RB5 TX
So the APFCONx registers should be
APFCON0 = %10000000
APFCON1 = %00000001
and the pin assignments:
DPIN var portb.1 ' I2C data pin
CPIN var Portb.4 ' I2C clock pin
HTH
Bookmarks