Skip to content

Files

Latest commit

39ef6d9 · Jan 25, 2014

History

History
30 lines (21 loc) · 804 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 804 Bytes

angular-arduino

Install

Make sure you have NodeJS installed

open a terminal, and move to a directory for cloning the repo.

git clone https://github.com/killface-org/angular-arduino.git
cd angular-arduino
npm install

Running

Build the LCD circuit from the magic eight ball project, and instead of the acceloramter add three LED's, connected to pins 8,9, and 10. You will then need to make some slight modifications to the source code, mainly things like setting ip addresses for connections, and maybe adjusting some of the PIN constants.

Then open up a couple of terminals.

  cd server
  node web-server.js
  //in a seperate shell (terminal)
  node arduino-socket-server.js