Hi ChrisTall,
Would you like to send me your email address in a private message. I'll send you the modified code.
However it's pretty simple. All you have to do is to remove all LCD code and to add a POTCC in the spirit of XCC. Don't hesitate to understand how this work by navigating in this website.