I am using a PIC12F683. Initially I had the voltage divider attached to AN0 but it is now connected AN1 and I changed the code to allow it to function while connected to that pin.

I didn't realise that I had to include the @ INT_ENABLE TMR1_INT and @ INT_ENABLE AD_INT lines as my previous code that included the DT-INTS didn't have those lines in. Please see: http://www.picbasic.co.uk/forum/showthread.php?t=16433

For Reference these pins are the inputs and the outputs:
'GP0 LED OUT
'GP1 AD1 FOR POT INPUT
'GP2 LED STATUS

I'll try adding the enable lines to the code, I'm also going to put the status LED on the analogue interrupt routine so I know that is triggering.

Thank you for your help