Mel, thank for replying.

Yes the clock runs fine. The module has the pull ups fitted


I'll try your suggestion when I get home from work in a couple of hours. Maybe I did edit something I shouldn't have, but AFAIK the only changes were to portB for the LCD and port A for the switches