Thanks for placing this in a better location, I wasn't certain where was appropriate. Thanks too for pointing out the correct pinout diagram - problem now solved!!
I see from the official pin diagram that on my diagram digital pins from 14 up to 19 ( analogue AN0 to AN5 ) are incorrectly labelled - they should be from 18 up to 23.