1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-02 22:17:12 +08:00

230 Commits

Author SHA1 Message Date
deadprogram
08874e4e21 core: no longer return slices of errors, instead use multierror
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01: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
cbf0c8b390 Merge branch 'feature/devices/pirmotion' into dev 2016-11-01 18:15:05 +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
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
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
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
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
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
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
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
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
54f0c16be7 core: Refactor audio platform for new adaptor/driver signatures
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 12:17:01 +02:00
deadprogram
56558cd9cb core: Starting refactor of new adaptor/new driver function signatures with ARDrone
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 11:46:55 +02:00
Ron Evans
5442e0bd8b Merge pull request #308 from jfinken/dev
Adafruit Motor HAT driver support
2016-09-17 01:34:05 +02:00
deadprogram
3540ce7bd1 docs: go fmt files that needed it from recent changes
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
deadprogram
94d78d777a core: Refactor tests to allow 'metal' development using Gobot adaptors/drivers.
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
deadprogram
fc82503428 core: Refactor examples to allow 'metal' development using Gobot adaptors/drivers.
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
deadprogram
0e25f29a1b core: Refactor events to use channels all the way down. Allows 'metal' development using Gobot libs.
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
Josh Finken
409cdfb041 Removing the raspi_adafruit program as it has been split into three separate programs, removing my Makefile for the raspi adafruit programs, and fixing up a few comments. 2016-09-02 06:44:50 -06:00
Josh Finken
6a415b5096 Merge branch 'dev' of github.com:jfinken/gobot into dev 2016-08-30 10:08:13 -06:00
Yuri Gorokhov
1b8212ebcf Adding support for MakeBlock megapi
Signed-off-by: Yuri Gorokhov <yurigorokhov@gmail.com>

Fixing example

Adding fix for megapi same speed bug

Adding README.md
2016-08-29 22:08:50 -07:00
deadprogram
986cfaa3f3 joule: add i2c example and notes to README about pullup resistors
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-26 13:56:33 +02:00
Josh Finken
54c8b246dd Adding a Servo example program for the Adafruit Servo Hat driver code. 2016-08-25 22:04:36 -06:00
Josh Finken
995cd7deb5 Adding support for the Adafruit Servo/PWM HAT. This required a slight refactor to the existing Motor HAT code to support multiple I2C addresses. 2016-08-25 20:51:00 -06:00
Ron Evans
aa17072872 Merge pull request #303 from ericho/edison-gobot-as-library
Add example for Edison blink demo without gobot initialization.
2016-08-25 23:00:33 +02:00
deadprogram
37e59402cc joule: go fmt the multi-LED example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-25 21:29:19 +02:00
deadprogram
2a6615424b Starting support for Intel Joule with the built-in LEDs and more
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-25 18:10:52 +02:00
Josh Finken
5a1707340f More explicit initialization in Start, slight refactor, and separate DC Motor and Stepper Motor examples. 2016-08-24 22:25:41 -06:00
Erich Cordoba
3b6bf4da74 Add example for Edison blink demo without gobot initialization.
This example shows how to use gobot as another golang library.

Signed-off-by: Erich Cordoba <erich.cm@yandex.com>
2016-08-23 21:54:12 -05:00
Josh Finken
09e3cd4f10 Initial significant changes to the Adafruit Motor HAT driver to support Stepper Motors. 2016-08-22 21:56:19 -06:00
Josh Finken
0c8be58d7e File rename, adding a test file for the Adafruit driver, and slight func naming changes. 2016-08-16 21:36:12 -06:00
Josh Finken
14eccad598 Adding two API funcs for the Adafruit driver with respect to the DC Motor, fleshing out the raspi_adafruit example with a runner function. 2016-08-15 23:10:35 -06:00
Josh Finken
c3f142f4d7 Initial commit of driver code, with accompanying example, for the Adafruit_MotorHat. 2016-08-01 19:08:54 -06:00
Ron Evans
fc31d4e3c2 Merge pull request #297 from caledhwa/platform-nats
Adding the initial NATS platform support
2016-07-19 20:26:43 +02:00
Cale Hoopes
e7839a8924 Adding the initial NATS platform support 2016-07-16 20:59:07 -07:00
Ron Evans
913e9371a7 Merge pull request #290 from dgryski/gosimple
Code cleanups suggested by gosimple
2016-07-15 09:03:02 -06:00
Damian Gryski
e65048e795 Fix issues flagged by 'go vet' 2016-07-13 11:27:12 -06:00
Damian Gryski
977c878a8b Code cleanups suggested by gosimple 2016-07-13 09:32:22 -06:00
deadprogram
5b29de3ff7 [ble] Speed up Ollie example roll speed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-11 23:47:19 -06:00
deadprogram
8db7405260 [ble] Implement Ollie Roll example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-10 12:37:58 -06:00