moved the read to a function for easy importing
Merge branch 'master' of github.com:mattvenn/raspi-workshop