The funeral has been held of a Scotsman credited with inventing the cash machine.

John Shepherd-Barron came up with the idea of a "hole in the wall" in the 1960s. The idea came to him after he arrived too late at a bank, and was not able to withdraw any money.

He dismissed the idea of PIN numbers with six digits rather than four when his wife said she wouldn't be able to remember them.

James Cook reports.