Remove extraneous Leap Motion config hash argument

This commit is contained in:
Andrew Stewart 2014-11-06 15:57:16 -08:00
parent 7b9cb8eef5
commit b8a7fab75b
7 changed files with 7 additions and 7 deletions

View File

@ -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: [

View File

@ -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: [

View File

@ -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: [

View File

@ -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' }
],

View File

@ -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' }
],

View File

@ -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' },

View File

@ -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' }
],