connected it to input pin 13 (i think ) and then thought how does this work. Chatted to Michael and it acts by earthing. Touched it to earth nothing. Somehow I think I have it a bit screwed up. So I stopped until I could find an article or post to clarify.

Bruce