Thanks Charles, My bad sorry - one of those pesky solder bridges your code helped me find the problem tho.

Sorry for posting this when it was a silly wiring fault on my part