Thanks Joe,

I didn't catch that, I'll make changes and see if that fixes the input problem.

I still have the output issue though with GPIO.3, it doesn't want to run the LED.

Any thoughts?

John.