Browse files

updated 'just node' section of example motor html page to have correc…

…t steps to run (was previously copied from walkled
  • Loading branch information...
1 parent 31c5fb1 commit ea324020927d0355fd30ebd71d777797246796ea James Charlesworth committed Oct 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 views/example-motor.jade
@@ -62,6 +62,6 @@ header#overview
| $ > git submodule update --init
| $ > npm install
| $ > cd examples/
- | $ > node test.walkLED.js
- p After starting <code>test.walkLED.js</code> you are able to push the buttons in your wiring and see the LEDs blinking as you commanded. Use the analog input for changing walking speed. Binding events work as you might know from using Mootools, use <code>AnalogInput.on()</code>, <code>LED.on()</code> and <code>Button.on()</code> to bind custom functions to events like <em>on</em>, <em>off</em>, <em>change</em>, <em>push</em> or <em>release</em>. Not all functions are documented or even demonstrated with an example application, for getting used to noduino make sure to have a look at <code>test.blinkLED.js</code> and <code>test.readAnalogIn.js</code>.
+ | $ > node test.motor.js
+ p After starting <code>test.motor.js</code> the motor will toggle on and off every 5 seconds.

0 comments on commit ea32402

Please sign in to comment.