The Puck has a magnetometer (compass), it can detect a magnet nearby. So a magnet on a wheel could be used to count the rotations. No reed switch or other hardware required.
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.
The Puck has a magnetometer (compass), it can detect a magnet nearby. So a magnet on a wheel could be used to count the rotations. No reed switch or other hardware required.