Commit Graph

1266 Commits

Author SHA1 Message Date
Ron Evans a93bc5f0fa Merge pull request #334 from wfernandes/dev
Adds tests for grove drivers
2016-11-07 21:19:52 +01:00
Warren Fernandes 39eb212e35 Removes subtest definitions since they are not supported in go1.6
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-11-06 11:36:11 -07:00
deadprogram 4e6a49aabf particle: update docs to match latest API
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-06 10:46:34 +01:00
Warren Fernandes 7eb7d875eb Adds tests for grove drivers
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-11-05 21:15:08 -06:00
deadprogram 9faf9eb52a core: Use time.Sleep unless waiting for a timeout in a select
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-05 13:05:49 +01:00
deadprogram 5785a83546 docs: update README for gpio drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-01 19:16:23 +01:00
deadprogram cbf0c8b390 Merge branch 'feature/devices/pirmotion' into dev 2016-11-01 18:15:05 +01:00
Ron Evans 178836fdad Merge pull request #326 from devfubar/feature/edison-sparkfun
Pinmap for Intel Edison Sparkfun and documentation
2016-11-01 15:14:59 +01:00
deadprogram cb96335219 docs: update README with missing devices
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-30 22:41:21 +01:00
Ron Evans cec5802719 Merge pull request #332 from wfernandes/test-fixing
Minor improvements
2016-10-30 22:20:59 +01:00
Ron Evans 1b1abbebe2 Merge pull request #331 from wfernandes/dev
Adds support for Grove Magnetic Switch Sensor
2016-10-30 22:11:49 +01:00
deadprogram e01baa7b75 gpio: display events in PIR detect example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-30 22:07:01 +01:00
deadprogram d82e893e6f gpio: PIR Motion sensor now working
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-30 18:50:23 +01:00
Warren Fernandes facc7e5ae1 Fixes import path
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 05:27:22 -06:00
Warren Fernandes 73043610f4 Adds tests for grove temperature sensor driver
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 05:21:50 -06:00
Warren Fernandes 44224746b4 Uses time.NewTimer() instead of time.After() to be more efficient.
- Makes tests more consistent
- Fixes halt test
- Asserts on returned error

Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 03:34:52 -06:00
Warren Fernandes 3f966dc125 Fixes AnalogSensor Halt Test
Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 03:32:56 -06:00
Warren Fernandes 922e6d98f7 Uses NewTimer() instead of time.After() to be more
efficient since the later creates new timers in a
tight loop.

- Adds more assertions to tests
- Adds some comments to help contributors understand
that the send occurs after the Once.

Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 03:02:32 -06:00
Warren Fernandes bbf0b36a91 Adds support for Grove Magnetic Switch Sensor
- http://wiki.seeed.cc/Grove-Magnetic_Switch/

Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-26 23:20:43 -06:00
devfubar bf4b74cb57 Updated the examples to show how to setup the sparkfun edison 2016-10-22 15:13:45 +01:00
deadprogram 14f5a1989b gpio: Add initial support for PIR motion detector
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-22 15:17:49 +02:00
deadprogram 54d9b16141 ci: move Travis build script to more informative directory name
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-20 10:03:02 +02:00
deadprogram 6827772338 docs: remove Master unless needed for less code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 21:57:14 +02:00
deadprogram 900bf1d9ea docs: remove Master unless needed for less code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 21:37:10 +02:00
deadprogram 4230d2ab2f examples: remove Master unless needed for less code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 21:08:25 +02:00
deadprogram 2f9d0fdb70 examples: better example of using Master Gobot
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 19:37:53 +02:00
deadprogram 2811295e3f examples: better example of using Master Gobot
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 19:32:45 +02:00
deadprogram a0b3a7934c docs: Describe Classic Gobot, Metal Gobot, and Master Gobot
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 19:32:11 +02:00
deadprogram 527f27a968 docs: Describe Classic Gobot, Metal Gobot, and Master Gobot
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 19:18:29 +02:00
deadprogram 6ad9862a3e docs: Describe Classic Gobot, Metal Gobot, and Master Gobot
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 19:16:27 +02:00
deadprogram 91aa54d37b examples: add Firmata button metal example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 18:47:26 +02:00
deadprogram e08e8b02ff examples: add Firmata blink metal example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 18:28:22 +02:00
deadprogram 68662f8496 core: Now both Robot and Master operate using AutoRun as expected
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 18:23:59 +02:00
deadprogram 21a77a1b54 core: Able to run robots without being part of a master. Also now running all work in separate go routines
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 16:34:29 +02:00
deadprogram 5eac41a6bc core: WIP on all work happening in separate goroutine
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 16:13:45 +02:00
deadprogram da3adc0d85 examples: small refactor to metal button example that shows how to use Gobot event channels
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 11:31:40 +02:00
Ron Evans 589af6f44c Merge pull request #323 from radovskyb/patch-1
fixed undefined method error
2016-10-17 09:02:48 +02:00
Benjamin Radovsky 04275a0992 fixed undefined method errors 2016-10-17 17:59:23 +11:00
Ron Evans 8f4320a439 Merge pull request #322 from radovskyb/dev
fixed undefined method errors
2016-10-17 08:53:43 +02:00
Benjamin Radovsky 6c93f492c7 fixed undefined method errors 2016-10-17 17:43:04 +11:00
deadprogram 79e787d516 test: update tests from linter errors
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-16 11:43:02 +02:00
deadprogram f97a10dcbc test: small change to order of Travis test execution
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-15 20:26:53 +02:00
deadprogram 458c750f33 core: refactor/rename internal name of Master type
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-15 20:02:54 +02:00
deadprogram 64ae34f40f examples: Correct adafruit examples to use new drivers package location
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-15 19:55:43 +02:00
deadprogram 6c1e392b18 Correct adafruit examples to use new drivers package location
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-15 19:48:34 +02:00
deadprogram 311fea76ff edison: Experimental support for other breakout boards besides Arduino
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-10 19:29:50 +02:00
deadprogram 3fa1ca762a release: update to version 0.13.0
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-10 19:28:52 +02:00
deadprogram 5e37140954 i2c: correct signature for Adafruit Motor Hat driver to match latest refactor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-10 11:04:39 +02:00
Ron Evans 532200e140 Merge pull request #316 from hybridgroup/feature/new-adaptor-driver-signatures
Simplify new adaptor/new driver function signatures
2016-10-10 10:34:26 +02:00
deadprogram 7d272e1069 tools: Add some improved docs to Gobot CLI
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-08 10:52:30 +02:00