Using a reed switch with Arduino

I agree with Grumpy_Mike, it's good to know what was wrong, because it can help others and help to improve the documentation. We don't need an "air crash investigation", just a brief outline of the trouble!