OpenSprints goldsprints software, rewritten in Node.js.
To clone and run this repository you'll need Git and Node.js (which includes npm) installed on your computer. From your command line:
# Clone this repository
git clone https://github.com/lukeorland/opensprints2
# Go into the repository
cd opensprints2
# Install dependencies and run the app
npm install
Make sure the Arduino has been flashed with the firmata sketch.
Make sure the Arduino is connected. Then run:
node hub-cli.js
When the magnet is passed by the sensor, update messages should be printed to the terminal.