Hi,

The code example that you posted was in Proton PIC Basic and I converted it into PBP ( PicBasicPro).

In this forum we share codes and problems but you have to walk your own way. You may find somebody to give you code examples to sort out problems but you should have the understanding of what you are doing. Otherwise it would be impossible for you to upgrade/maintain/troubleshoot your program. As I have been a hobbyyist I always have the intention to help hobbyist but with a micro you cannot simply expect to do a copy/paste sort of experiment.
Send me what you want to do exactly, what features you want and what PIC you want to use. I will try to post some examples if possible.