added treatment for non-battery supplies
Merge branch 'master' of github.com:hamishcunningham/pi-tronics