Commit Graph

59 Commits

Author SHA1 Message Date
Thomas Kohler a8f47eaae8
build(go, deps): switch to Go 1.22 and update modules (#1093) 2024-11-01 12:54:20 +01:00
Thomas Kohler e2b710bfe7
neurosky: use serialport adaptor and move driver to drivers/serial (#1061) 2024-02-12 16:27:08 +01:00
Thomas Kohler 7f78edefcd
lint(all): fix issues of errorlint etc (#1037) 2023-11-15 20:51:52 +01:00
Thomas Kohler aee81436c9
lint(all): switch to 1.55.2 and adjust linter issues (#1036) 2023-11-12 14:17:02 +01:00
Thomas Kohler f219a4055d
gpio(hcsr04): add driver for ultrasonic ranging module (#1012) 2023-10-27 21:06:07 +02:00
Thomas Kohler f5d8d5c601
all(style) : fix linter issues for errcheck, ineffassign, unused and fix errors (#950) 2023-06-12 19:51:25 +02:00
Thomas Kohler 865e724af0
Build(v2): revert move to v2 subfolder (#932)
* revert move to v2 subfolder
* fix CI and adjust CHANGELOG
2023-05-29 19:23:28 +02:00
Thomas Kohler d908619462
Build(v2): fix usage by moving code to a v2 subfolder (#927) 2023-05-22 19:35:36 +02:00
Thomas Kohler 949392d8a7
Fix(core): Semantic Import Versioning for v2 (#921) 2023-05-20 14:25:21 +02:00
Thomas Kohler fcdf286f1d
Fix(build): linter findings of "gosimple", "govet" and "staticcheck" (#917)
Fix also encoder and dps overflow in gopigo3 "GetMotorStatus()". Problem found by "staticcheck".
2023-05-19 14:16:22 +02:00
Thomas Kohler cef04066e3
Improve: use base driver for all I2C devices 2022-12-10 13:10:23 +01:00
Thomas Kohler 3559e7892e
Introduce I2cBusAdaptor for composition in platforms 2022-12-08 19:29:51 +01:00
Dmitry Lisin 88188d3ccb Use go.mod friendly version of go.bug.st/serial library 2020-05-13 19:16:41 +02:00
deadprogram cf14909b14 curie: improve tests and examples
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 73e67f2b4e firmata: make it possible to test external devices that use firmata adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram c80ab8ea91 firmata: Sysex response events now being handled as expected
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 6a36f28fc8 firmata: expose WriteSysex to external callers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram ca6f7573ac firmata: switch to using go-serial package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02: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 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
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
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 653428812a firmata: rename openCommPort to PortOpener, late connect to improve ability to test adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-15 13:51:07 +01:00
deadprogram 78112f1c63 firmata: some WIP on TCP connection to WiFi connected device
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-02 20:00:16 +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 654a2a0fde core: update Firmata platform to simply return error
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
deadprogram 07f674955b core: Ensure that all drivers have default names
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:06:37 +02: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 6d4b9927a7 core: Refactor Firmata platform for new Adaptor creation signature
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 20:49:20 +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
deadprogram a64f56d479 tests: refactor test interfaces out of implementations and into the tests where they belong
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-26 14:23:03 +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 ab52d2bb8f Add ServoConfig to the FirmataAdaptor
Signed-off-by: Harley Laue <losinggeneration@gmail.com>
2016-07-27 02:23:06 -07:00
Adrian Zankich fe6df92974 Refactor sysfs I2C implementation and add Address parameter to I2C interface functions 2015-07-03 18:57:29 -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
Adrian Zankich de71de86cb go lint and documentation tweaks for the firmata package 2015-01-02 07:57:13 -08:00
Adrian Zankich 4a104fd660 Increase firmata test coverage 2014-12-19 12:58:55 -08:00
Adrian Zankich 560ebaf3e0 Enforce I2c interface 2014-11-29 12:14:36 -08:00
Adrian Zankich 89f3f53e09 Update platforms for new gpio interfaces 2014-11-29 11:51:16 -08:00
Adrian Zankich d38b95f41f Refactor firmata to use new adaptor interface 2014-11-21 19:36:41 -08:00
Adrian Zankich 67e8da6c36 Fix merge errors 2014-11-20 17:54:48 -08:00
Adrian Zankich 586507a489 Update Adaptor and Driver interface to use []error 2014-11-19 23:21:35 -08:00
Adrian Zankich 6832c1739a Update firmata package for new i2c interface 2014-11-19 17:24:17 -08:00
Adrian Zankich 3efaa46c28 Update firmata package for new gpio interface 2014-11-19 11:18:48 -08:00
Adrian Zankich 66c861dd4f Merge remote-tracking branch 'origin/dev' into errors 2014-11-19 10:33:32 -08:00
Adrian Zankich 56e8496539 Add optional io.ReadWriteCloser parameter 2014-11-18 17:28:20 -08:00
Adrian Zankich abc1f0b201 Update platforms to support the new Driver and Adaptor interfaces 2014-11-16 12:25:48 -08:00
Javier Cervantes 58c15eb116 Adding godocs to firmata package 2014-10-22 09:49:19 -05:00
Adrian Zankich f6c72529f0 Add channel timeouts 2014-07-15 09:35:19 -07:00
Adrian Zankich 83babbbe87 Add 'Once' Event function 2014-07-15 09:35:19 -07:00