Oops!!
I must have missed it and just assumed it must be high, sorry!

Will this code do the job to just test the CD pin functioning?
<code>
........
&nbsp;IF CDPin = 0 THEN
&nbsp;&nbsp;&nbsp;&nbsp;HIGH LEDPin
&nbsp;&nbsp;&nbsp;&nbsp;Pause 1000
&nbsp;&nbsp;&nbsp;&nbsp;LOW LEDPin
&nbsp;&nbsp;&nbsp;&nbsp;PAUSE 1000
&nbsp;ENDIF
.......
</code>