Skip to content
This repository was archived by the owner on Jun 18, 2019. It is now read-only.

Repository files navigation

Colours

A colour matching game with arduino input.

Made for HACKED.io 2013.

Installation

  1. Prerequisites

  2. Install node packages

     npm install
    

Development

  1. Connect arduino to the computer

  2. Upload arduino/potentiometer/potentiometer.ino into the arduino

  3. Start the node server: node bin/server.js

  4. Go to http://localhost:9090/

    To see input values, go to http://localhost:9090/input.html

Old instructions (needed to generate sass)

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.

Sample johnny five programs

See

Testing

Uses karma and jasmine.

Karma is run automatically when grunt is called. To run it manually

karma start

Author

Created by Tak Tran (ttt).

About

A colour matching game with arduino input

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages