Hmm, I think there is a general misunderstanding in this forum.

We cannot help if we don't see any code that you have tried. There are many examples in this thread (try from the page 1 and after) for various PIC.

But we really need your code that is not working and your circuit.

By speculating I think solution cannot be found.

Here's a link for an older post

http://www.picbasic.co.uk/forum/show...&postcount=198

Ioannis