OK I still can't get this to work.. I'm probably going to have to uninstall and reinstall these programs, what exactly do i need to compile this..

MicroCode Studio complains about ICD or something, and not have PicBasic Pro 2.20 or higher.. where can I get these.

Also if anyone has another quick once-over of the code can they see any errors or why it may not work.

Thanks in advance,

Tim.