You can see an example on hooking up the nodecopter-remote in example/index.js.
If you want to execute the example, you need to cd into nodecopter-remote
and run npm install to install the dev dependencies. Then you can execute
the example with node example/index.js and have a working remote, given that
you are connected to the drone via WiFi and have your Arduino connected.

The remote that is exported is an event emitter.

The events emitted by the remote are:

var events =[

'takeoff'

,'land'

,'up'

,'down'

,'clockwise'

,'counterClockwise'

,'front'

,'back'

,'left'

,'right'

,'animate'

,'animateLeds'

];

These events have the same name as the methods on the drone client, so binding
them 1 to 1 is easy. (See bottom of example/index.js).

There is one case you might want to code for: When the drone crashes or is flipped
over, it goes into emergency mode. This is either disabled my creating a new client
or by calling client.disableEmergency() which allows you to start flying again.

You can see one way of handling it in example/index.js, i.e. by proxying the takeoff
method and always calling client.disableEmergency() before takeoff.

If you have used the provided diagramme, you can just use it out of the box. If
not, you can override the pin map. You can also override the default animations.

If you want to reproduce the remote exactly, I created a Fritzing diagramme
that shows you how everything is wired up. Fritzing is an open-source software
available on all major platforms and can be downloaded at http://fritzing.org.