1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-13 19:29:10 +08:00

56 Commits

Author SHA1 Message Date
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
002c75ce88
test(all): substitude assert.Nil by assert.NoError if useful (#1016) 2023-10-26 20:34:19 +02:00
Thomas Kohler
f9950e247d
test(all): substitude assert.Error by assert.ErrorContains (#1014) 2023-10-25 20:21:18 +02:00
Thomas Kohler
ee4368b10f
test(all): substitude assert.Errorf by assert.Error (#1011) 2023-10-21 10:08:03 +02:00
Thomas Kohler
a4a8d1079c
build(style): switch to gofumpt and add linters (#1009) 2023-10-20 20:50:42 +02:00
Thomas Kohler
3039b2c7cb
test(all): switch to test package stretchr testify (#1006) 2023-10-20 10:27:09 +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
fc4894bd51 NEW: i2c.ReadBlockData(), BUGFIX: Read*Data() in digispark and some small other fixes 2022-10-01 17:33:02 +02:00
deadprogram
fe3d2e6dc6 firmata: remove circular import in test
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +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
6a36f28fc8 firmata: expose WriteSysex to external callers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram
ecdd98aa15 firmata: remove unused code, increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram
5c7c21a743 firmata: assertions needed to be considered tests
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-29 13:17:46 +02:00
deadprogram
e3f1a553ee firmata: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 18:58:02 +02:00
deadprogram
f89113c5ed firmata: increase test coverage for i2c commands
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 21:07:45 +02:00
deadprogram
d1195335b6 firmata: increase test coverage for i2c commands
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 20:40:31 +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
fc3db1ce0f firmata: correct test awaiting i2c response
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-08 12:25:45 +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
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
b99e935b81 test: correct aio references for AnalogRead tests
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-21 15:54:00 +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
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
ab52d2bb8f Add ServoConfig to the FirmataAdaptor
Signed-off-by: Harley Laue <losinggeneration@gmail.com>
2016-07-27 02:23:06 -07:00
gmarik
e494b9fb99 Refactor to use gobottest test helpers 2016-02-22 00:33:58 -05: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
4a104fd660 Increase firmata test coverage 2014-12-19 12:58:55 -08:00
Adrian Zankich
52e3ffc735 Rename test helpers so they don't impact coverage 2014-12-18 14:07:48 -08:00
Adrian Zankich
89f3f53e09 Update platforms for new gpio interfaces 2014-11-29 11:51:16 -08:00
Adrian Zankich
586507a489 Update Adaptor and Driver interface to use []error 2014-11-19 23:21:35 -08:00
Adrian Zankich
005c07aace Increase firmata test coverage 2014-11-19 18:48:52 -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
abc1f0b201 Update platforms to support the new Driver and Adaptor interfaces 2014-11-16 12:25:48 -08:00
Adrian Zankich
84363c6699 Rename Expect to Assert and add Refute function 2014-07-17 11:41:47 -07:00
Adrian Zankich
e55744657c Increase firmata test coverage 2014-07-15 14:52:21 -07:00
Adrian Zankich
874d6e82c8 Fix failing test 2014-07-15 09:35:19 -07:00
Adrian Zankich
c903bebc20 Green tests 2014-07-15 09:35:19 -07:00
Adrian Zankich
129bb7041a Fix firmata tests 2014-07-10 14:28:54 -07:00