Post all your code and model of PIC.

What errors do you get? How does it "not work"?

Robert