Switched types, declared some things as volatile
Merge branch 'master' of github.com:OlinREVO/speedometer-demo