From b8a7fab75b1afd37c03600cc06dec45b3be6a5f9 Mon Sep 17 00:00:00 2001 From: Andrew Stewart Date: Thu, 6 Nov 2014 15:57:16 -0800 Subject: [PATCH] Remove extraneous Leap Motion config hash argument --- README.markdown | 2 +- examples/cattoy/cattoy.js | 2 +- examples/cattoy/cattoy.markdown | 2 +- examples/leap_ardrone/leap_ardrone.js | 2 +- examples/leap_ardrone/leap_ardrone.markdown | 2 +- examples/leap_arduino/leap_arduino.js | 2 +- examples/leap_arduino/leap_arduino.markdown | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.markdown b/README.markdown index e77ac05..a073cd6 100644 --- a/README.markdown +++ b/README.markdown @@ -86,7 +86,7 @@ var Cylon = require('cylon'); Cylon.robot({ connections: [ { name: 'digispark', adaptor: 'digispark'}, - { name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' } + { name: 'leapmotion', adaptor: 'leapmotion' } ], devices: [ diff --git a/examples/cattoy/cattoy.js b/examples/cattoy/cattoy.js index 309b080..3b0161f 100644 --- a/examples/cattoy/cattoy.js +++ b/examples/cattoy/cattoy.js @@ -3,7 +3,7 @@ var Cylon = require('../..'); Cylon.robot({ connections: [ { name: 'digispark', adaptor: 'digispark'}, - { name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' } + { name: 'leapmotion', adaptor: 'leapmotion' } ], devices: [ diff --git a/examples/cattoy/cattoy.markdown b/examples/cattoy/cattoy.markdown index 23874ac..f5823b5 100644 --- a/examples/cattoy/cattoy.markdown +++ b/examples/cattoy/cattoy.markdown @@ -12,7 +12,7 @@ Let's define the connections and devices: connections: [ { name: 'digispark', adaptor: 'digispark'}, - { name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' } + { name: 'leapmotion', adaptor: 'leapmotion' } ], devices: [ diff --git a/examples/leap_ardrone/leap_ardrone.js b/examples/leap_ardrone/leap_ardrone.js index 5c32651..095e301 100644 --- a/examples/leap_ardrone/leap_ardrone.js +++ b/examples/leap_ardrone/leap_ardrone.js @@ -26,7 +26,7 @@ var handWasClosedInLastFrame = false; Cylon.robot({ connections: [ - { name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' }, + { name: 'leapmotion', adaptor: 'leapmotion' }, { name: 'ardrone', adaptor: 'ardrone', port: '192.168.1.1' }, { name: 'keyboard', adaptor: 'keyboard' } ], diff --git a/examples/leap_ardrone/leap_ardrone.markdown b/examples/leap_ardrone/leap_ardrone.markdown index d53c19c..8dda291 100644 --- a/examples/leap_ardrone/leap_ardrone.markdown +++ b/examples/leap_ardrone/leap_ardrone.markdown @@ -13,7 +13,7 @@ Now that we have Cylon imported, we can start defining our robot Let's define the connections and devices: connections: [ - { name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' }, + { name: 'leapmotion', adaptor: 'leapmotion' }, { name: 'ardrone', adaptor: 'ardrone', port: '192.168.1.1' }, { name: 'keyboard', adaptor: 'keyboard' } ], diff --git a/examples/leap_arduino/leap_arduino.js b/examples/leap_arduino/leap_arduino.js index dc0ccbf..830fa12 100644 --- a/examples/leap_arduino/leap_arduino.js +++ b/examples/leap_arduino/leap_arduino.js @@ -1,7 +1,7 @@ var Cylon = require('../..'); Cylon.robot({ - connections: [{ name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' }, + connections: [{ name: 'leapmotion', adaptor: 'leapmotion' }, { name: 'arduino', adaptor: 'firmata', port: '/dev/ttyACM0' }], devices: [{ name: 'leapmotion', driver: 'leapmotion', connection: 'leapmotion' }, diff --git a/examples/leap_arduino/leap_arduino.markdown b/examples/leap_arduino/leap_arduino.markdown index f13c1fb..8d96181 100644 --- a/examples/leap_arduino/leap_arduino.markdown +++ b/examples/leap_arduino/leap_arduino.markdown @@ -11,7 +11,7 @@ Now that we have Cylon imported, we can start defining our robot Let's define the connections and devices: connections: [ - { name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' }, + { name: 'leapmotion', adaptor: 'leapmotion' }, { name: 'arduino', adaptor: 'firmata', port: '/dev/ttyACM0' } ],