updated to use new write argument order
Merge branch 'master' of https://github.com/piface/pifacedigital-scratch-handler