Here's few code example in Proton PDS. Should be easy enough to convert.
http://www.picbasic.org/forum/showthread.php?t=10723&

That's a neat and cute IC, a little pricey though...