Commit Graph

291 Commits

Author SHA1 Message Date
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