What do you mean by 'codes in using pic'? A ready made program?

Please have a look at the link:

http://www.picbasic.co.uk/forum/foru...c&daysprune=-1

and specially:

http://www.picbasic.co.uk/forum/showthread.php?t=8493
http://www.picbasic.co.uk/forum/atta...9&d=1145772480

(credits to charudatt)

Ioannis

P.S. Next time give more details, like your PIC type, your IDE and you up to this moment program you have written.