1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-02 22:17:12 +08:00

40 Commits

Author SHA1 Message Date
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
1e2a4d8d10
build(linters): list of linter todo's (#962) 2023-06-18 18:10:46 +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
9ce45c0056
add advanced digital pin options (pull, bias, drive, debounce, event) 2023-01-28 12:22:32 +01:00
Thomas Kohler
6c7ecbe584
SPI using GPIO's plus driver for MFRC522 2023-01-05 19:04:32 +01: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
9cbc7acf94
Bugfix/Improvement: Use PWMPinsAdaptor for platforms 2022-12-05 18:28:57 +01:00
Thomas Kohler
89afbcf85b
Bugfix/Improvement: Use DigitalPinsAdaptor for platforms 2022-12-01 17:33:33 +01:00
Thomas Kohler
45ee9c3644
gpio: add support for new character device Kernel ABI 2022-11-27 16:06:09 +01:00
Thomas Kohler
be92fb6f9e
rename package "sysfs" to "system" 2022-11-20 19:22:26 +01:00
Thomas Kohler
421135fcc2 BUGFIX/IMPROVEMENT: sysfs accesser 2022-11-09 17:30:57 +01:00
Thomas Kohler
45abf11acc BUGFIX: tests with sysfs mocks 2022-10-30 18:47:56 +01:00
Thomas Kohler
f141a2bc7a BUGFIX: new pwm behaviour of tinkerboard 2022-09-24 13:52:26 +02:00
Thomas Kohler
ae9eadc27f fix tinkerboard i2c0 to i2c4, improve comments in pin map, improve README 2022-04-30 14:17:14 +02: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
472856310a i2c: refactor i2c interface definitions out of sysfs into i2c package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-07-12 09:00:35 -06:00
Erik Agsjö
44dec6d800 Updated Tinkerboard and sysfs tests to updated PWM polarity contract
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-06-15 14:04:08 +02:00
deadprogram
e9c6cdc39b tinkerboard: protect against pin map races
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-06 15:12:10 +02:00
deadprogram
135a0f9b4d tinkerboard: implement DigitalPinnerProvider and PWMPinnerProvider interfaces
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 10:31:54 +02:00
deadprogram
3713a89881 tinkerboard: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-29 12:50:39 +02:00
deadprogram
3ba99ad1a2 tinkerboard: export DigitalPin and PWMPin adaptor methods
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-29 10:26:38 +02:00
deadprogram
632a218331 tinkerboard: improve README content
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 16:10:43 +02:00
deadprogram
912a175de7 tinkerboard: improve README formatting
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 13:05:50 +02:00
deadprogram
9919168a66 tinkerboard: better handling of pwm pin initialization and more test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 12:21:38 +02:00
deadprogram
6cadfc6b53 tinkerboard: update README with improved setup instructions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-26 16:15:34 +02:00
deadprogram
d0385e4ccb tinkerboard: corrections needed for sysfs.PWMPin
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-25 11:57:25 +02:00
deadprogram
927293c3dd tinkerboard: initial PWM implementation
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-25 11:55:50 +02:00
deadprogram
0843ca3743 tinkerboard: small update on support
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-25 11:55:50 +02:00
deadprogram
0f36f6372a tinkerboard: initial WIP on adding support
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-25 11:55:50 +02:00