Edgar O Silva
a5e727430d
Updated litcoffee example with correct range params.
2014-01-19 23:34:11 -06:00
Edgar O Silva
e549f6e0a6
Updated servo examples to include the new optional range param.
2014-01-19 23:19:49 -06:00
Edgar O Silva
50fea68ad2
Remove duplicated example.
2014-01-14 16:11:58 -06:00
Edgar O Silva
323e443c92
Added examples for opencv adaptor and drivers.
2014-01-14 16:10:55 -06:00
xixebombilla
038bd5d3a7
98-keyboard-examples
2014-01-13 13:09:28 -06:00
Andrew Stewart
30cf20049c
Examples should use console.log instead of Logger
2014-01-03 17:18:09 -08:00
Adrian Zankich
96160c79b2
Update example
2013-12-30 13:04:56 -08:00
Edgar O Silva
12ca276ace
Remove pin from example.
2013-12-30 14:52:10 -06:00
Edgar O Silva
74fb4cee76
Fixes require isse for new example location.
2013-12-30 14:25:12 -06:00
Edgar O Silva
2fafe60fa5
Updated raspi_i2c_blink m example and moved to new folder.
2013-12-30 14:21:22 -06:00
Edgar O Silva
4e4cc6bbdb
Fixed incorrect driver in example for raspi blinkm.
2013-12-29 12:30:43 -06:00
Edgar O Silva
7a86e72296
Added example for blinkm in raspi.
2013-12-27 18:09:22 -06:00
Adrian Zankich
c357b646dd
Merge branch 'master' into 72-i2c-support
2013-12-20 11:19:01 -08:00
Edgar O Silva
336b11a8d4
Added comments and safety instructions to servo example.
2013-12-19 23:16:13 -06:00
Edgar O Silva
a36869052e
Fixed indentation.
2013-12-19 14:48:45 -06:00
Edgar O Silva
40e03ce29a
Remove all examples and updated blink m example.
2013-12-19 14:46:33 -06:00
Edgar O Silva
bb3e7efa2e
Added new beaglebone folder for examples. Updated blinkm example.
2013-12-18 20:14:40 -06:00
Edgar O Silva
e2e4957f32
Added example for i2c using blinkm.
2013-12-17 21:43:25 -06:00
Edgar O Silva
3f6b5cfd41
Fix incorrect require.
2013-12-11 16:55:11 -06:00
Edgar O Silva
3c1efe6f32
Update the pin for the correct bbb header.
2013-12-11 16:51:43 -06:00
Edgar O Silva
4e0a6e1672
Added example for beaglebone servo.
2013-12-11 14:43:04 -06:00
Ron Evans
13f1f80831
Merge pull request #54 from hybridgroup/21-beaglebone-adaptor
...
Added example for PWM in beaglebone.
2013-12-08 15:41:04 -08:00
Edgar O Silva
d7f189222e
Added example for PWM in beaglebone.
2013-12-06 19:49:56 -08:00
Andrew Stewart
2e8b052452
Add example for Spark Core - blinking
2013-12-06 15:48:29 -05:00
Ron Evans
a6b442116f
Merge pull request #52 from hybridgroup/21-beaglebone-adaptor
...
Added GPIO examples for beaglebone.
2013-12-03 18:09:37 -08:00
Edgar O Silva
a81fd9b9b4
added new push button example for beaglebone.
2013-12-03 17:28:04 -08:00
Edgar O Silva
0d38a2bd55
Added new beaglebone blink example.
2013-12-03 13:30:56 -08:00
Andrew Stewart
b7e4d4b489
Organization of new examples and literate/js versions of each
2013-11-28 12:34:15 -08:00
Andrew Stewart
2c52db8086
Merge branch 'master' into literate
...
* master:
Crazyflies
Updated servo examples to use a limit range of motion instead of full 180.
Update digital read to parseInt buffer response.
DigitalRead buffer data converted to string now.
Debugging digitalPin read.
Added servo example for Raspi.
Add more supported devices to README
Update to 0.6.1
Update digital pin close callback param.
Fixes err param not being passed.
Updated digital pin and added pwm raspi example.
Conflicts:
examples/servo.coffee
2013-11-28 12:07:51 -08:00
Andrew Stewart
791b301eda
Literate CoffeeScript version of sphero_messages example
2013-11-28 11:10:47 -08:00
Andrew Stewart
8af9a624b0
Literate CoffeeScript version of sphero_color example
2013-11-28 10:39:48 -08:00
Andrew Stewart
ab547902b4
Literate CoffeeScript version of sphero_collision example
2013-11-28 09:59:02 -08:00
deadprogram
671e395984
Crazyflies
2013-11-27 19:10:38 -08:00
Andrew Stewart
da8e56ef9a
Literate CoffeeScript version of sphero example
2013-11-27 16:59:04 -08:00
Andrew Stewart
61efedb251
Literate CoffeeScript version of servo example
2013-11-27 16:50:34 -08:00
Andrew Stewart
9733a35f9a
Literate CoffeeScript version of robot_commands example
2013-11-27 16:37:46 -08:00
Edgar O Silva
8f7e1d0193
Updated servo examples to use a limit range of motion instead of full 180.
2013-11-27 18:23:17 -06:00
Andrew Stewart
28a1a807d1
Literate CoffeeScript version of raspi_button example
2013-11-27 16:12:59 -08:00
Andrew Stewart
b72638de53
Literate CoffeeScript version of raspi_blink example
2013-11-27 14:15:40 -08:00
Andrew Stewart
2cebd56b48
Literate CoffeeScript version of pure_spheron example
2013-11-27 14:00:53 -08:00
Andrew Stewart
32c05f8fc7
Literate CoffeeScript version of pure_gpio example
2013-11-27 13:35:21 -08:00
Andrew Stewart
8ccf93ce40
Merge master and multiple examples
2013-11-27 13:25:30 -08:00
Andrew Stewart
95aa7f8962
Literate CoffeeScript version of motor example
2013-11-27 13:06:43 -08:00
Andrew Stewart
10736154c2
Literate CoffeeScript version of master example
2013-11-27 13:06:36 -08:00
Andrew Stewart
3928ef91d4
Literate CoffeeScript version of led_brightness example
2013-11-27 12:13:44 -08:00
Andrew Stewart
b78a907d28
Literate CoffeeScript version of hello example and path fix
2013-11-27 11:34:27 -08:00
Andrew Stewart
4d1d8fae9a
Literate CoffeeScript version of drone_nav example
2013-11-27 11:24:36 -08:00
Andrew Stewart
e26e3f654c
Literate CoffeeScript version of drone example
2013-11-27 10:57:11 -08:00
Andrew Stewart
1e2527ede9
Add Literate version of Conway example and fix bug
2013-11-27 10:40:37 -08:00
Edgar O Silva
e40289b3ea
Added servo example for Raspi.
2013-11-27 11:42:52 -06:00
Andrew Stewart
d2a0bf9d3c
Literate coffeescript version of Button example
2013-11-26 17:04:25 -08:00
Andrew Stewart
1e100f47fa
Literate coffeescript version of BlinkM example
2013-11-26 16:49:14 -08:00
Andrew Stewart
4e6c7504c8
Literate coffeescript version of Blink example
2013-11-26 16:12:36 -08:00
Andrew Stewart
39a0a76f54
Literate version of API example
2013-11-26 16:02:12 -08:00
Andrew Stewart
681e93574b
Literate Coffeescript example for Analog Sensor
2013-11-26 13:46:16 -08:00
Andrew Stewart
64809b16cf
Finish reorganizing existing examples
2013-11-26 12:21:43 -08:00
Edgar O Silva
0ebdd4fc7d
Updated digital pin and added pwm raspi example.
2013-11-26 12:38:29 -06:00
Andrew Stewart
dbfa4f859e
Merge branch 'master' into literate
...
* master:
Update to version 0.6.0
Execute robot commands from api
Replace api.litcoffee with api.coffee
Replace api.litcoffee with api.coffee
Docs corrections
Refactoring adaptor and driver initialization to simplify, and fix init overwrite error
Conflicts:
src/api.coffee
2013-11-26 10:07:15 -08:00
Andrew Stewart
0c8cb41f8f
Move Travis examples into subdir
2013-11-26 10:02:47 -08:00
Andrew Stewart
47bc59fe3d
WIP on organizing examples and making sure there are JS and CS versions of both
2013-11-25 16:06:55 -08:00
Adrian Zankich
b46d4242ea
Execute robot commands from api
2013-11-25 14:28:13 -08:00
Adrian Zankich
15547ef21a
Update examples
2013-11-18 01:02:38 -08:00
Edgar O Silva
6cf8c9b2d9
Update sphero-sf example.
2013-11-17 23:49:42 -06:00
Edgar O Silva
95a6f3bc47
Fixed typo in change direction method.
2013-11-17 23:38:37 -06:00
Edgar O Silva
f8b822e852
Updated sphero salesforce example with bankruptcy and changeDirection.
2013-11-17 23:37:46 -06:00
Edgar O Silva
8717ea5f98
Updated examples for Dreamforce 2013
2013-11-17 23:18:47 -06:00
Edgar O Silva
637e326c45
Updated examles for salesforce.
2013-11-17 23:04:20 -06:00
Edgar O Silva
756f1e7818
Updated sphero to use bucks and charge bucks for power.
2013-11-17 22:52:54 -06:00
Edgar O Silva
8f3f2c22ed
Updated examples to include ENV vars.
2013-11-16 20:15:09 -06:00
Adrian Zankich
23decd6b5a
Update example
2013-11-16 14:04:22 -08:00
Adrian Zankich
50b4ab3a06
Update example
2013-11-16 00:21:30 -08:00
Edgar O Silva
6587cd146a
Sphero-pebble-salesforce example working.
2013-11-15 22:42:55 -06:00
Edgar O Silva
19d094bb16
Added adaptor extra params and updated salesforce example.
2013-11-15 21:09:27 -06:00
Edgar O Silva
6f2c84b516
Added example using salesforce driver and adaptor.
2013-11-15 21:09:27 -06:00
Edgar O Silva
027a82c17e
Latest cylon example updates
2013-11-15 21:09:27 -06:00
deadprogram
cb2ef05201
Happy references
2013-11-15 21:09:27 -06:00
Edgar O Silva
b88e674178
WIP on Sphero SF
2013-11-15 21:09:27 -06:00
Edgar O Silva
22fc963a44
WIP on SF-Cylon connection
2013-11-15 21:09:27 -06:00
Edgar O Silva
74160047a8
Sf Client and S Example.
2013-11-15 21:09:27 -06:00
Andrew Stewart
c28e99efee
Merge branch 'master' into literate-coffeescript
...
* master: (31 commits)
Do not run travisci on site code
Allow for any HTTP verb on device command
Pass event payloads correctly in Basestar
Fix typo in path call.
Remove @self references in favor of just @ and fix set mode to udpate the obj attr when actually changing the mode.
Add missing param emitConnect.
Fx missing param in setModeCallback.
Refactor digital pin.
Updating unexport path to use function call.
Make sure the pin mode is setup even if the file already exists.
Fixes disconnect pins by making last IO calls sync and validates for existance of pin files.
Fixes issue with undefined path in digital pin.
Added pin number to emit close event.
Fox indenting error.
Refactor GPIO file paths, added validation to check for existance of GPIO pins (they have already been setup), added new sync disconnect.
More consistent internal representation of components
Clean up tests
Properly organize supporting classes for tests
Simplify readline setup for Windows users
Add tests for Cylon#findRobotConnection
...
Conflicts:
dist/api.js
examples/sphero_multiple.coffee
src/api.coffee
2013-11-15 12:49:44 -08:00
deadprogram
ab3c038dd1
Use class-based syntax
2013-11-07 06:55:27 -08:00
Andrew Stewart
620351c7c2
Allow configuration of API options
2013-11-06 16:13:35 -08:00
Andrew Stewart
7543f834e4
Merge branch 'master' into literate-coffeescript
...
* master: (21 commits)
Removes unnecessary IO class.
Fixes raspi button example typo.
Updated DigitalPin and raspi_button example.
Adding interval reads to digitalRead.
Added new Digital read example for raspi, updated digitalRead in lib.
Refactored DigitalRead and setup mode to only emit connection event on connect.
Added new DigitalPin to Cylon core to use in adaptors, for real.
Added new DigitalPin to Cylon core to use in adaptors.
Added new example for raspi adaptor.
Updated digital pin lib and example.
Fixed missing mode variable in digital pin.
Remove logging and update example.
Change events and update example in digital pin.
Added close for GPIO and updated negative ifs
Change event triggers in callbacks to fat arrows to keep obj scope.
Removed self and changed example.
Updated IO and digital pin to use events.
Fix bug in GPIO example.
Adde pure GPIO example and updated digital pin lib
Added new LinuxIO DigitalPin library.
...
2013-11-06 15:14:30 -08:00
Ron Evans
33f8a876a5
Update sphero_multiple.litcoffee
...
Use the nicer class based syntax
2013-11-06 12:33:58 -08:00
Andrew Stewart
3316c22ca7
Replace sphero_multiple with literate version
2013-11-06 12:26:47 -08:00
Edgar O Silva
0c3b319b12
Fixes raspi button example typo.
2013-11-06 14:20:33 -06:00
Edgar O Silva
ff978f3a0d
Updated DigitalPin and raspi_button example.
2013-11-06 14:20:33 -06:00
Edgar O Silva
250a0d0166
Adding interval reads to digitalRead.
2013-11-06 14:20:33 -06:00
Edgar O Silva
c370041329
Added new Digital read example for raspi, updated digitalRead in lib.
2013-11-06 14:20:33 -06:00
Edgar O Silva
6d703b0707
Added new example for raspi adaptor.
2013-11-06 14:20:33 -06:00
Edgar O Silva
b03019544b
Updated digital pin lib and example.
2013-11-06 14:20:33 -06:00
Edgar O Silva
115a1bb405
Remove logging and update example.
2013-11-06 14:20:33 -06:00
Edgar O Silva
81bd0adb83
Change events and update example in digital pin.
2013-11-06 14:20:32 -06:00
Edgar O Silva
3dec21c459
Added close for GPIO and updated negative ifs
2013-11-06 14:20:32 -06:00
Edgar O Silva
33f8c95edc
Change event triggers in callbacks to fat arrows to keep obj scope.
2013-11-06 14:20:32 -06:00
Edgar O Silva
87a75745dd
Removed self and changed example.
2013-11-06 14:20:32 -06:00
Edgar O Silva
3bdecf665a
Updated IO and digital pin to use events.
2013-11-06 14:20:32 -06:00
Edgar O Silva
239056fa65
Fix bug in GPIO example.
2013-11-06 14:20:32 -06:00
Edgar O Silva
831fbe4069
Adde pure GPIO example and updated digital pin lib
2013-11-06 14:20:32 -06:00
Andrew Stewart
30ce10d627
Literate version of examples/travis.coffee
2013-11-05 17:43:03 -08:00