Hi Dave,

OK I'll look a little more in depth at the code.

For now I have scrapped the lookdown table and i've gone with a simple code as follows:-

IF dtmf = 4 Then 'First code digit
gosub Getdtmf
else
goto error
ENDIF
IF dtmf = 1 Then 'Second code digit
gosub Getdtmf
else
goto error
ENDIF
IF dtmf = 7 Then 'Third code digit
gosub Getdtmf
else
goto error

This seems to work OK, but I have no option of changing the code remotely.

How could I store the codes and re-program them remotely from the DTMF decoder?

Regards,

Jim