The source code from the book 'The Raspberry Pi Cookbook' by Simon Monk.