A colour matching game with arduino input.
Made for HACKED.io 2013.
-
Connect arduino to the computer
-
Upload
arduino/potentiometer/potentiometer.inointo the arduino -
Start the node server:
node bin/server.js -
Go to http://localhost:9090/
To see input values, go to http://localhost:9090/input.html
Start the server
grunt
View the site at http://localhost:7770, or your local (internal) ip address (useful for testing on other devices). You can also run
grunt open
To run the site on another port, use the port flag eg, grunt --port=3000
To run the site using a different livereload port (default is 35729), use the lrp flag, eg, grunt --lrp=35720. Use this to prevent this error: Fatal error: Port 35729 is already in use by another process.
See
Karma is run automatically when grunt is called. To run it manually
karma start
Created by Tak Tran (ttt).