I did mention above in http://forum.espruino.com/comments/16681689/ but https://github.com/gfwilliams/step-count links to a thread post that I think shows you all you need to do.
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I did mention above in http://forum.espruino.com/comments/16681689/ but https://github.com/gfwilliams/step-count links to a thread post that I think shows you all you need to do.