Commit Graph

154 Commits

Author SHA1 Message Date
Thomas Kohler e2b710bfe7
neurosky: use serialport adaptor and move driver to drivers/serial (#1061) 2024-02-12 16:27:08 +01:00
Thomas Kohler d2b01b99e0
examples: fix missing checks of return values (#1060) 2024-02-11 15:34:50 +01:00
Thomas Kohler 3ac63bfd27
ble: introduce in drivers folder (#1057) 2024-02-04 18:50:43 +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 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 0d0a508c60
core(build): CLI removed (#946)
* core(build): CLI removed
* adjust install instructions in doc and README
* fix master_test and remove useless/duplicated tests examples_test.go
2023-06-04 18:36:55 +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 fdf4f4b194
Bugfix/Improvement: Introduce SpiBusAdaptor and spi.Driver for composition in platforms/drivers
and fix for #794
2022-12-17 11:56:11 +01: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
Thomas Kohler bf98277e03 BUGFIX: stabilize firmata tests 2022-10-19 09:39:35 +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 ec2995974d test: increase some timings to make tests a little less fragile
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-09-25 12:06:08 +02:00
deadprogram 17cadb6266 firmata: exclude ble adaptor from build on Windows
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-11-27 19:14:38 +01:00
deadprogram 381e4205ce firmata: exclude ble adaptor from build on Windows
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-11-27 19:14:38 +01:00
Dmitry Lisin 88188d3ccb Use go.mod friendly version of go.bug.st/serial library 2020-05-13 19:16:41 +02:00
Brendan Loudermilk 800f35cb80
Update the Firmata homepage in platform README 2018-05-12 12:32:29 -06:00
Ron Evans 7ca9db598f docs: update copyright date to 2018
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 08:24:39 +01:00
deadprogram eb3b166158 firmata: handle cases where out of sync data is read from serial port on first connecting
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-11-12 12:16:05 +01:00
deadprogram d2e6c53ac9 firmata: correct problem where last analog pin(s) were being ignored from capabilities query
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-31 09:36:16 +01: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 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 b945fdaf5a firmata: expose WriteSysex to external callers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram f225a66db9 docs: correct installation instructions to match latest versions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 37a1179e7f docs: update BLE connect info to latest
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 4f97d01b34 firmata: cleanup error handling for connection code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram ab7944b86b firmata: improve connection code to use a proper timeout
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 202089f3a2 firmata: increase test coverage
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 c057909011 firmata: return connect errors to client
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram efee462c95 firmata: client tests don't need so many goroutines
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 3c4a4f6e0d firmata: adjust client test timeout values
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram bfdb65ad16 firmata: refactoring firmata client
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 959a406e7b firmata: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-04 19:58:38 +02:00
deadprogram 2742dbacc1 firmata: remove processing that might have been eating test events, increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-04 18:31:32 +02:00
deadprogram 078784eff1 firmata: avoid race condition on starting test
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 12:11:49 +02:00