Commit Graph

1603 Commits

Author SHA1 Message Date
deadprogram 804344873c docs: update params info for Robot
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-10 12:02:25 +01:00
deadprogram 74d9dc4f5c i2c: example of using optional params
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-10 12:01:44 +01:00
deadprogram ace49b2037 i2c: reorder core implementation based on suggestions from @goinggo
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-10 11:54:45 +01:00
deadprogram 04c8af0e22 i2c: reorder driver implementations based on suggestions from @goinggo
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-10 11:44:36 +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 03eba3853e i2c: correct godocs to match new constructor signatures with optional params
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 16:47:11 +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 9a93d3bbe4 i2c: update mpu6050 for bus interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 13:26:53 +01:00
deadprogram 5790cb502a i2c: add godocs for updated i2c functionality
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 13:12:45 +01:00
deadprogram 90bd2d594f i2c: complete adding optional param with alternative i2c bus for all i2c drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 11:23:36 +01:00
deadprogram f8f92af056 i2c: update function signatures to have correct types
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-09 09:44:32 +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 fc3db1ce0f firmata: correct test awaiting i2c response
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-08 12:25:45 +01:00
deadprogram 9da8e3fd19 Merge branch 'erkkah-better-i2c' into dev 2017-02-08 12:00:50 +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 205f7186c6 joule: cleanup order of included packages
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-08 11:33:24 +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 9bcd4f45c6 blinkm: correct initialization params order for new I2C connection
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-07 20:51:20 +01:00
deadprogram 05aded7528 firmata: correct error in I2C reads not listening to board events
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-07 20:50:26 +01:00
deadprogram 5536115abf Merge branch 'better-i2c' of https://github.com/erkkah/gobot into erkkah-better-i2c 2017-02-07 18:45:55 +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 4b5404529f minidrone: add ValidatePitch helper function for Parrot Minidrone to package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-07 11:32:08 +01:00
deadprogram 9d73a4bf6e bebop: add ValidatePitch helper function for Parrot Bebop to package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-07 11:31:51 +01:00
deadprogram 47a13159ef ardrone: add ValidatePitch helper function for ARDrone 2.0 to package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-07 11:31:27 +01:00
Erik Agsjö 398663a200 Small doc change
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-06 20:08:27 +01:00
Erik Agsjö 09142c55ee Refactored platforms to new I2C interfaces
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-06 15:06:03 +01:00
Erik Agsjö 543a246916 Updated all i2c drivers to new interface
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>

Fixed I2C interface bugs

Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-06 15:06:00 +01:00
Erik Agsjö 0626b3b3a2 Added word sized i2c write operation
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-06 14:57:36 +01:00
Erik Agsjö f41021c17a Change to make I2C support more than one bus, and use
other access methods than block operations.

Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>

Added ReadWordData to i2c connection

Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>

Code cleanup
2017-02-06 14:57:19 +01:00
deadprogram 3daa17dd99 sphero: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:46:25 +01:00
deadprogram 6471a9936e ollie: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:43:50 +01:00
deadprogram 702199fe62 bb8: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:42:43 +01:00
deadprogram cff900f350 particle: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:38:47 +01:00
deadprogram 6911631c84 minidrone: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:37:00 +01:00
deadprogram e3c82549e5 bebop: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:35:26 +01:00
deadprogram 064ea6cc9c ardrone: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:34:21 +01:00
deadprogram 3e52fb38f8 nats: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:30:15 +01:00
deadprogram 254068c14d leap: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:28:12 +01:00
deadprogram 1280acdac2 keyboard: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:25:43 +01:00
deadprogram 762cb95375 joystick: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:24:48 +01:00
deadprogram b1a23e7dce intel-iot: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:13:39 +01:00
deadprogram 0c06d0bd97 firmata: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:10:09 +01:00
deadprogram 5d90090d57 digispark: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:01:41 +01:00
deadprogram 2c0119acea chip: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:57:45 +01:00
deadprogram ddb889a105 ble: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:56:26 +01:00
deadprogram 3be7c49705 beaglebone: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:52:07 +01:00
deadprogram 67c7246f09 audio: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:50:49 +01:00
deadprogram 169af71bb0 i2c: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:46:00 +01:00
deadprogram 4041bdc740 gpio: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:37:09 +01:00