Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Two-player reaction time game

Using Johnny-Five, Express.js and Socket.io

Installation

Node.JS and NPM are required. Get them at https://nodejs.org/en/ and https://www.npmjs.com/

1 - 3: Server

  1. Clone or the repository: git clone https://github.com/tlystad24/arduino-socket.git
  2. Navigate to the directory: cd arduino-socket
  3. Install the dependencies: npm install

4 - 5: Arduino

  1. Connect the arduino to a computer, then compile and upload StandardFirmata, which can be found in examples/firmata/StandardFirmata.
  2. Connect two switches with a 10k pullup to pin 5 and 6.

6: Server

  1. Run the server: node index.js
  2. Navigate to 127.0.0.1:4000 to open the app.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages