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
11473b96f4
firmata: add mutex to try to reduce spurious build errors
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-26 17:37:51 +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
Sebastien Binet
1b574b5d45
platforms/firmata/client: use io.ReadFull
...
This CL uses io.ReadFull to make sure exactly n bytes are read, and
correctly handle io.EOF and co.
Fixes #343 .
Signed-off-by: Sebastien Binet <seb.binet@gmail.com>
Conflicts:
platforms/firmata/client/client.go
2016-11-30 22:58:37 +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
23559830ea
update: Update tarm/goserial to tarm/serial
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 08:38:24 +02:00
deadprogram
3a60b33480
core: Add Unsubscribe() to eventer, now Once() works as expected
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
deadprogram
9f8fd26221
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
ef2f0bf203
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
e15961348f
core: Continue refactoring to allow 'metal' development using Gobot libs.
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
Harley Laue
f8be611424
Fix a typo and update the doc comment for FirmataAdaptor.ServoConfig
...
Signed-off-by: Harley Laue <losinggeneration@gmail.com>
2016-07-27 02:23:14 -07:00
Harley Laue
dc1f750e3b
Add unit tests for ServoConfig
...
Signed-off-by: Harley Laue <losinggeneration@gmail.com>
2016-07-27 02:22:53 -07:00
Harley Laue
5086b2a0d5
Fix the ServoConfig byte order
...
Signed-off-by: Harley Laue <losinggeneration@gmail.com>
2016-07-21 00:41:12 -07:00
Damian Gryski
977c878a8b
Code cleanups suggested by gosimple
2016-07-13 09:32:22 -06:00
gmarik
e494b9fb99
Refactor to use `gobottest` test helpers
2016-02-22 00:33:58 -05:00
Matt Aimonetti
a129ff03fa
Update blink example due to API change
2015-10-07 23:35:22 -07:00
Adrian Zankich
a8fa365990
Make travis happy
2015-07-15 16:46:40 -07:00
Adrian Zankich
02a62d043a
Refactor firmata client library into seperate package
...
Green tests
Refactor tests to table driven
Refactor analog, digital and i2c
Fix tests
golint client package
Fix tests
Add ServoConfig
Rename query and i2c functions
Fix tests
Fix typo
2015-06-30 14:11:22 -07:00