Hi Jim,

It should work with the 14K22.

That error can only be generated by a BAM_PIN statement.

Make sure it looks something like this ...

BAM_PIN (PORTB,0, Duty1)

Note the comma between PORTB and 0.
Duty1 should be a BYTE var.

Make sure the designated pins are available.
The 14K22 only has RA0-RA5, RB4-RB7 and RC0-RC7