Commit Graph

1454 Commits

Author SHA1 Message Date
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 0999c23207 release: update to version 0.13.0
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-10 19:24:49 +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
deadprogram f12e9b1b70 tools: Add some improved docs to Gobot CLI
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-08 10:40:17 +02:00
deadprogram f5396843a8 tools: Clarify purpose of gobot CLI being to generate new platforms, adaptors, and drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-08 10:33:04 +02:00
deadprogram 01ab0b4330 tools: Move cli generator to more correctly named 'cli' directory
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-08 10:28:15 +02:00
deadprogram a0d22e9901 tools: Update cli generator to latest core
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-08 10:26:29 +02:00
deadprogram ae512a3497 docs: Include example with both Firmata and API use
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-04 10:25:50 +02:00
deadprogram e30586acf0 core: Ensure that all drivers have default names
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-04 10:25:14 +02:00
deadprogram 935c47e19b docs: Update README to correct list of latest platforms
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:22:28 +02:00
deadprogram 083eb82294 test: Run Travis tests on Intel Joule
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:07:15 +02:00
deadprogram 07f674955b core: Ensure that all drivers have default names
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:06:37 +02:00
deadprogram acfdbee0cb core: Convert all examples to use new Adaptor/Driver signatures
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 16:58:43 +02:00
deadprogram e3404a16e8 core: rename Spark examples to Particle
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 15:15:49 +02:00
deadprogram 6744885fa3 test: reduce Travis builds to golang 1.4+ since it is late 2016 already
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 10:25:56 +02:00