John Pauley
698d1685f0
cleanup driver and sample, additional documentation
2017-05-04 22:51:58 -04:00
deadprogram
8657f385c4
examples: corrections requested by gitmetalinter
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-04 12:36:20 +02:00
deadprogram
6e8199e35d
raspi: add PWM example for Raspberry Pi
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-04 12:32:55 +02:00
John Pauley
d3629908d4
update example
2017-05-03 18:23:27 -04:00
John Pauley
8e0637f3e3
raspi INA3221 example
2017-05-03 18:08:56 -04:00
bezineb5
7eabd4e2e4
Fixed a bug with the ADS1015 reading. Updated example.
2017-04-27 09:10:03 -04:00
deadprogram
8ca2e59271
tinkerboard: add examples for ASUS Tinker Board
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-26 15:54:59 +02:00
deadprogram
0de58756bb
i2c: support working for ads1015 adc providing AnalogReader interface
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-24 17:56:13 +02:00
Michael Hope
412fa0a3b1
nats: support wildcard subjects by changing the handler to take
...
nats.Message.
Also update the docs and examples.
Signed-off-by: Michael Hope <mlhx@google.com>
2017-04-21 20:46:45 +02:00
deadprogram
311bfcfb45
mqtt: update examples that use mqtt for updated notification signature
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:21:34 +02:00
deadprogram
9a2cc0b15b
microbit: correct example pin mappings
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:42:37 +02:00
deadprogram
5059a8c2f2
microbit: add example showing gpio Button and LED
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 17:46:43 +02:00
deadprogram
ca2854bdf0
microbit: add DigitalWriter, DigitalReader, and AnalogReader support
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 17:07:53 +02:00
deadprogram
aefc031d13
firmata: correctly handle i2cwrite operations of >16 bytes by chunking them
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 20:04:47 +02:00
deadprogram
0887fefc70
i2c: change example for bmp180 to match current method signature
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-04 16:00:01 +02:00
deadprogram
a3c892ee58
examples: correct build errors in all current examples
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-04 13:38:51 +02:00
deadprogram
821fbf272e
i2c: adds Altitude() function to BMP280/BME280
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-01 10:29:57 +02:00
deadprogram
633abf0751
i2c: update bme280 example
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
4c573b43f4
i2c: add Humidity() to bme280 example
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
f523fc6447
i2c: bmp280/bme280 raw reading in place, just need the conversions
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
8940824ff0
i2c: refactoring since the bme280 is not the same as the bmp180
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
56a67a6626
i2c: ensure bmp180 returns Temperature() error, if any
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
Jordi Llonch
6ea0383918
ssd1306: added example
...
Signed-off-by: Jordi Llonch <llonchj@gmail.com>
2017-03-31 17:33:52 +00:00
b3b
5eaabf18a7
Fix neurosky example
...
Signed-off-by: b3b <ash.b3b@gmail.com>
2017-03-23 12:27:13 +03:00
deadprogram
647b3e3ba7
microbit: add CI build exclusion directives to new Microbit examples
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-20 12:31:23 +01:00
Ron Evans
5590c670ed
Merge pull request #384 from maruel/go_test
...
Fix go test ./...
2017-03-20 08:28:20 +01:00
deadprogram
132080f63a
microbit: add temperature driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-18 17:22:17 +01:00
deadprogram
88a260a221
microbit: add magnetometer driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-18 17:09:43 +01:00
Marc-Antoine Ruel
50d5869808
Fix go test ./...
...
Make all examples to not be built by default by adding the build tag 'example'.
Some files were automatically reformatted by goimports upon saving.
2017-03-13 11:01:39 -04:00
deadprogram
3fdf0639e1
microbit: add accelerometer implementation
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-01 01:23:50 +01:00
deadprogram
ec9de10a10
microbit: improve button implementation, add integrated example
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-28 20:19:09 +01:00
deadprogram
9634a9822c
microbit: initial implementation for built-in buttons
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-28 20:03:20 +01:00
deadprogram
44de8014c5
microbit: initial implementation for LEDs
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-28 19:40:16 +01:00
Jeffrey Jenner
1cc9cc96f5
Fixed docs and added example
2017-02-24 02:07:02 +10:00
Ron Evans
43e6566280
Merge pull request #375 from erkkah/drv2605l-driver
...
Driver for the DRV2605L haptic controller
2017-02-22 08:06:55 +01:00
Erik Agsjö
a144fd6ebe
Added simple example for DRV2605L on C.H.I.P
...
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-21 22:53:43 +01:00
Erik Agsjö
29c6a1451e
Added simple example for TSL2561 on C.H.I.P
...
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-21 22:47:21 +01:00
deadprogram
b8b3f4ecfa
ble: test examples to excercise multiple BLE devices at once
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 18:43:53 +01:00
deadprogram
5f93b1ebc8
ble: more WIP on multiple ble devices
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 18:43:53 +01:00
deadprogram
313d6664d1
i2c: refactor mpl115a2 to more cleanly return desired data as methods
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-11 12:34:28 +01:00
deadprogram
ae59464442
i2c: ensure all current i2c drivers (except for wiichuck) use a standard i2c style request/response interaction pattern
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-11 10:37:34 +01:00
deadprogram
51f6aba47c
i2c: refactoring of the interface/implementations based on feedback and golinter
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-10 11:08:32 +01:00
deadprogram
21bdf5aa26
i2c: completed implemetation of I2cConfig interface
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 14:35:48 +01:00
deadprogram
4ebb3b8597
i2c: add interface and implementation to allow i2c devices to be connected to alternate i2c buses than default
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 09:41:12 +01:00
deadprogram
b0a8bda83f
firmata: remove race conditions identified in Firmata client
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-08 15:33:52 +01:00
deadprogram
3e9250c585
docs: add examples for i2c platforms to use BlinkM
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-08 11:34:25 +01:00
deadprogram
22d148b6fa
beaglebone: correct i2c buses to match actual mapping
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-08 10:36:04 +01:00
deadprogram
8730233e6a
docs: fix #363 by using atomic.Value to protect current values used by mutiple goroutines
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-07 12:19:29 +01:00
deadprogram
25d7956cfb
docs: add header to example with execution instructions
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-31 21:14:09 +01:00
deadprogram
dc1ea629b5
nats: add driver to make it easier to create virtual devices
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-31 21:13:35 +01:00
deadprogram
66f5b483f1
docs: modify metal example to range thru channel instead of select
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-30 11:48:15 +01:00
deadprogram
01d1bd79f7
mqtt: add SSL/TLS client options support
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-26 19:03:32 +01:00
deadprogram
4b8546f8a7
mqtt: fix #277 by adding SetAutoReconnect method to set Paho MQTT client
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-26 16:21:28 +01:00
deadprogram
52c42a4e57
mqtt: change both 'On' and 'Publish' method function signatures to match Eventer interface
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-26 09:13:35 +01:00
deadprogram
e0b39b1144
mqtt: change 'On' method function signature to match expected interface
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-26 07:14:43 +01:00
deadprogram
8ea333125a
mqtt: add driver for syntactical sugar around virtual devices
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-25 20:19:15 +01:00
Durgesh Mankekar
9f0bc79dc2
bb8: Added example of collision detection
2017-01-24 16:53:29 -05:00
deadprogram
bfddff19b1
firmata: WIP on adding support for BLE connected microcontrollers
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-16 21:45:37 +01:00
deadprogram
8e10ea30d7
particle: update examples to take key params via command line
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-04 15:15:38 +01:00
Ron Evans
94207b4a2d
Merge pull request #352 from schmidtw/dev
...
Add a driver for the sht3x chip.
2017-01-03 11:06:04 +01:00
Weston Schmidt
0fe9d33729
Add a driver for the sht3x chip.
...
Signed-off-by: Weston Schmidt <weston_schmidt@alumni.purdue.edu>
2017-01-03 01:21:09 -08:00
deadprogram
671dd1aa01
firmata: add comment on how to run WiFi example
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-02 22:37:07 +01:00
deadprogram
3d9ecfdfeb
firmata: add comment on how to run WiFi example
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-02 22:36:30 +01:00
deadprogram
eab086d43e
Working TCP firmata blink
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-02 22:02:43 +01:00
deadprogram
80be494715
firmata: add example using tcp connection to firmata
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-02 21:40:20 +01:00
deadprogram
e995b372b8
ble: add generic access service driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-27 19:44:36 +01:00
deadprogram
bde831d6ad
minidrone: only need to call Land() once
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-27 18:35:33 +01:00
deadprogram
e6de2a8a2e
minidrone: adds Emergency() and TakePicture() commands
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-27 18:30:56 +01:00
deadprogram
dcdee3aefa
minidrone: add all piloting flying state events
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-27 15:53:49 +01:00
deadprogram
e828f5617d
bebop: add support/example of RTP video
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-27 01:07:21 +01:00
deadprogram
12c12517e3
bebop: update ps3 and video example to enable the video stream
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-26 19:01:52 +01:00
deadprogram
c186638973
aio: separate analog drivers from gpio drivers
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 13:25:22 +01:00
deadprogram
8510bd96d3
bb8: add initial support for Sphero BB-8 platform
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-19 16:21:47 +01:00
deadprogram
d1363746da
core: eliminate potential race conditions from Events and Every functions
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 20:32:02 +01:00
deadprogram
953c3254e7
core: use canonical import domain of gobot.io for all code
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:24:03 +01:00
deadprogram
95586fa2d0
parrot: move both ARDrone and Bebop under Parrot package
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-07 14:22:12 +01:00
deadprogram
c1454049f0
ollie: move Sphero Ollie into own platform
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-06 19:16:33 +01:00
deadprogram
ca984852d5
minidrone: move Parrot Minidrone into own platform
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-06 18:51:14 +01:00
deadprogram
fc2d98f9e7
beagleboard: now works on kernel 4.4+ of Debian
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-03 13:18:10 +01:00
deadprogram
3612b209f4
chip: correct ]base for new 4.4 GPIO
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-03 13:18:10 +01:00
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
deadprogram
11a49b64f3
[ble] Implement Ollie Roll command
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-10 12:28:20 -06:00
deadprogram
8fa839081f
[ble] Ollie example color cycles
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-10 12:08:34 -06:00
deadprogram
5abc5d260e
[ble] Correct examples to use client adaptor
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-09 11:52:48 -06:00
deadprogram
b850d1189f
[ble] Control stick flight control
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 12:51:00 +02:00
deadprogram
500283c87f
[ble] Complete implementation for initial drone inferface
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 11:45:00 +02:00
deadprogram
cca3a1cacd
[ble] Rename files to match current naming scheme
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 11:11:04 +02:00
ron
ef99b92190
[ble] Able to takeoff and land
2016-07-04 23:54:44 +02:00
deadprogram
a95af64ecb
[ble] Startup Pcmd
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 22:53:54 +02:00
deadprogram
eedc5081ed
[ble] Flying and landing and landed
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 22:23:59 +02:00
deadprogram
fbea6e76f0
[ble] Ready for takeoff?
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 20:31:15 +02:00
deadprogram
f86f0fa76d
[ble] Battery and status events
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 20:10:30 +02:00
ron
7887140073
[ble] Able to connect and retrieve battery notifications
2016-07-04 19:46:42 +02:00
deadprogram
e001cce97c
[ble] Experiments aerial
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 17:00:36 +02:00
deadprogram
04bf4c355c
[ble] Device information service
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 12:46:29 +02:00
deadprogram
9b779e40ab
Switching to currantlabs fork of gatt, and some related refactoring
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
06ee8a4699
[audio] Run go fmt because we have to
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
ae8b23c565
[audio] Refactor audio driver to simplify interface
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
491b8aa35a
[core] Return when Every is sent done on its channel
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
5c2766d85f
[audio] WIP on Gobot audio support using mpg123, based on code from @colemanserious
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
3d9aeeef14
[gpio] Add support for RGB LED
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:10 +02:00
deadprogram
807999debf
Increase hover time and remove cruft from simple Bebop drone example
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:10 +02:00
jeromefroe
cb8f90beae
Added example of how to use temp36 temperature sensor with firmata
2016-07-03 10:52:10 +02:00
deadprogram
9de106d089
Simple implementation that can read data
2016-03-02 22:43:41 -08:00
deadprogram
b662559ae9
Remove test code
2016-03-02 22:05:19 -08:00
deadprogram
12dbf722d7
Almost reading battery info
2016-03-02 22:00:05 -08:00
deadprogram
b3e1bb09ee
Merge branch 'feature/ble' into feature/ble-wip
2016-02-20 19:56:42 -08:00
deadprogram
b4427ced97
Adds support for Dualshock4 wireless gamepad
2016-02-20 09:41:38 -08:00
deadprogram
7ef09a58ba
Update ARDrone face tracking example to use main go-opencv fork
2016-02-19 18:39:30 -08:00
deadprogram
f55cd94cd5
Use OpenCV 2.4, as well as switch to main fork of go-opencv
2016-02-19 18:36:33 -08:00
deadprogram
d0a5893f27
Fix #236 & fix #239 by correcting initialization and temperature conversion for MPU-6050
2016-02-17 12:25:15 -08:00
Andrew Stewart
111a6df996
Add support for 'hand' and 'gesture' Leap Motion events
2016-02-17 12:25:15 -08:00
Hrishikesh Tapaswi
ed4522248f
Name C.H.I.P. pins according to printed names
...
It's more convenient to refer to a pin by the name that's printed right
on the header itself instead of having to count the pin number.
Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:15 -08:00
deadprogram
2baa2dcf89
Add MMA7660 accelerometer example for C.H.I.P.
2016-02-17 12:25:15 -08:00
Hrishikesh Tapaswi
42475e479d
Get I2C functionality before doing SMBus block I/O
...
In the sysfs i2cDevice implementation, use an ioctl to get the adapter
functionality mask. Prefer SMBus block I/O but if it's not available,
perform read/write calls directly on the file descriptor.
Improve Wiichuck error handling. Add a 1 ms delay between I/O operations
to the Wiichuck; this dramatically improves reliability.
Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:15 -08:00
deadprogram
bc50d792fb
Adds additional examples for C.H.I.P.
2016-02-17 12:25:14 -08:00
Hrishikesh Tapaswi
8f79c322e0
Add support for the CHIP platform
...
This includes support for GPIO and I2C interfaces.
Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:14 -08:00
Cathal Garvey
79fad6bae4
Fixed event race condition
...
If this is anything like the Bebop, then taking off immediately fires the "flying" event, but these events aren't buffered so attaching an event handler afterwards achieves nothing. When I ran the same code for the Bebop (as suggested on the site) it never landed, prompting an emergency connect-with-phone-hammer-buttons scramble. Swapping the event registration with the takeoff method call fixed the problem immediately.
2016-02-17 12:25:14 -08:00
deadprogram
ee61c902a5
Can see BLE devices, and connect to a specific one
2016-02-16 15:32:14 -08:00
deadprogram
2bce008224
A little more WIP, can open a connection to a specific peripheral
2016-02-16 15:32:14 -08:00
Andrew Stewart
cda57f9dc5
Add support for 'hand' and 'gesture' Leap Motion events
2016-02-09 16:15:55 -08:00
Hrishikesh Tapaswi
04c06202ab
Name C.H.I.P. pins according to printed names
...
It's more convenient to refer to a pin by the name that's printed right
on the header itself instead of having to count the pin number.
Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-08 00:01:44 -08:00
deadprogram
08b756f917
Add MMA7660 accelerometer example for C.H.I.P.
2016-02-07 09:08:29 -08:00
Hrishikesh Tapaswi
4fdcb6e718
Get I2C functionality before doing SMBus block I/O
...
In the sysfs i2cDevice implementation, use an ioctl to get the adapter
functionality mask. Prefer SMBus block I/O but if it's not available,
perform read/write calls directly on the file descriptor.
Improve Wiichuck error handling. Add a 1 ms delay between I/O operations
to the Wiichuck; this dramatically improves reliability.
Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-06 20:21:02 -08:00
deadprogram
31cf304a45
Adds additional examples for C.H.I.P.
2016-02-03 13:51:25 -08:00
Hrishikesh Tapaswi
30d66e2502
Add support for the CHIP platform
...
This includes support for GPIO and I2C interfaces.
Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-01-30 03:44:31 -08:00
Cathal Garvey
051f54c7a0
Fixed event race condition
...
If this is anything like the Bebop, then taking off immediately fires the "flying" event, but these events aren't buffered so attaching an event handler afterwards achieves nothing. When I ran the same code for the Bebop (as suggested on the site) it never landed, prompting an emergency connect-with-phone-hammer-buttons scramble. Swapping the event registration with the takeoff method call fixed the problem immediately.
2015-11-06 20:32:00 -08:00
deadprogram
24ccd3dde6
Corrections needed for Bebop to handle Outside mode
2015-10-24 16:45:53 -07:00
deadprogram
fdf5576e15
Needed to setup the event handler before the method that triggers it
2015-10-24 15:50:44 -07:00
deadprogram
929ccd2ff7
Docs and examples to better show off Grove GPIO
2015-10-22 16:56:03 -07:00
deadprogram
187d79f360
Added square of fire example
2015-10-11 13:41:52 -07:00
Matt Aimonetti
601e4916a2
let devs set and use custom LCD characters
...
I noticed that the grove LCD screen only has an ASCII/Japanese font table. I need to be able to display accented characters
looking at the data sheet the screen supports up to 8 custom CGRAM characters. I added an API to set those CGRAM characters
as well as a map of common latin 1 characters + emoticons
2015-10-11 00:49:57 -07:00
Ron Evans
79c9657807
Merge pull request #196 from hybridgroup/add/platforms/keyboard
...
Add basic keyboard driver using `stty`
2015-07-17 08:18:54 -07:00
Adrian Zankich
88f7a68c46
Update jhd1313m1 Scroll and grove lcd example
2015-07-15 17:57:22 -07:00
Filip Gospodinov
52ed70322a
edison_grove_lcd: add multi-line example
2015-07-11 00:08:04 +02:00
Adrian Zankich
d751445cc0
Add edison grove examples
2015-07-09 11:50:39 -07:00
Andrew Stewart
15a764d865
add basic keyboard driver using stty
2015-07-09 11:41:33 -07:00
Adrian Zankich
761dae973f
Add MMA7660Driver
2015-07-08 10:54:37 -07:00
Adrian Zankich
b212a40a7e
Add buzzer example
2015-07-03 19:03:31 -07:00
Adrian Zankich
bc8bb36f8f
Update mqtt package for latest paho mqtt api compatibility
2015-04-06 15:35:11 -07:00
Adrian Zankich
96c0677d36
Add lidar example
2015-03-27 09:55:44 -07:00
Adrian Zankich
3f0dd3efb9
Merge branch 'dev'
2014-12-28 08:13:33 -08:00
Adrian Zankich
78436285ec
Refactor and add tests
2014-12-28 08:04:15 -08:00
Adrian Zankich
541761b98e
Merge branch 'dev' into event-stream
...
Conflicts:
platforms/spark/spark_core_adaptor.go
2014-12-28 05:20:52 -08:00
Adrian Zankich
51feaa9985
Update examples, slight refactor and more tests
2014-12-28 04:54:14 -08:00
Javier Cervantes
5002287a78
Adding Function methods to spark core adaptor
2014-12-28 04:54:13 -08:00
Javier Cervantes
c679128587
Adding Variable method to spark code adaptor
2014-12-28 04:54:13 -08:00
Adrian Zankich
4a9954a5f9
Slight refactor and add default config constructors
2014-12-25 08:32:24 -08:00
Javier Cervantes
70e89aec05
Adding EventStream method to spark adaptor
2014-12-09 18:27:39 +01:00
Adrian Zankich
be963f989c
Increase gobot package test coverage
2014-11-30 00:19:53 -08:00
Adrian Zankich
fbc79e1a8f
Update raspi package for new i2c interface
2014-11-19 17:44:08 -08:00