After being asked by a few people, I have decided to share my PetBit Mk 2 project for others to enjoy.
I'll apologise for the coding standards now, but I'm only a hobbyist so please be gentle.
Video details on this project can be found online at You Tube:
https://youtube.com/playlist?list=PLWntz5VCbTSN48EQy6xb16G6g5vq2TAiO
Please note, this code if for Mk 2