Commit Graph

37 Commits

Author SHA1 Message Date
Thomas Kohler be1ccf07e4
gpio(all): introduce functional options (#1045) 2023-12-03 18:03:02 +01:00
Thomas Kohler d139c0ac7e
aio(thermalzone): add driver for read a thermalzone from system (#1040) 2023-11-27 16:42:42 +01:00
Thomas Kohler 916c2bad18
aio(analog sensor): fix deadlock in cyclic reading (#1042) 2023-11-26 19:41:02 +01:00
Thomas Kohler 39808451cf
aio(all): introduce functional options (#1039) 2023-11-23 19:01:42 +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 458a1f43b8
aio: fix data race in AnalogSensorDriver (#1024) 2023-10-30 19:11:58 +01:00
Thomas Kohler f7f482010b
tests(gpio,aio): cleanup helper_test (#1018) 2023-10-27 20:46:45 +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 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 946131356e
fix/add some comments (#901) 2023-02-14 13:57:24 +01:00
Thomas Kohler f536c35f35 adjust analog sensor driver to prevent ReadValue() to get float64 2022-07-13 20:09:31 +02:00
Thomas Kohler 3b3ad4df0e add AnalogActuatorDriver, analog temperature sensor, driver for PCF8591 (with 400kbit stabilization), driver for YL-40 2022-04-24 11:14:45 +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 1cf59fd2c0 aio: avoid race condition on starting test
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 10:53:40 +02:00
deadprogram c9ec619219 aio: ensure that AnalogSensor event Data is always int
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 09:59:00 +02:00
deadprogram ce7b34d031 aio: correct order for test to avoid race
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-24 18:25:47 +02:00
deadprogram d27ad850f3 aio: adjust test timeouts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 11:03:28 +02:00
deadprogram 30df5dc11e aio: only need to support AnalogReader interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:40:41 +02:00
deadprogram 021587e511 aio: ensure event handler is setup before starting test
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 12:59:21 +02:00
deadprogram 9b7723110f aio: wait longer before test event is received
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-04 12:00:24 +02:00
deadprogram 94f1a6d045 aio: move test read function before event is received
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-04 10:19:53 +02:00
deadprogram 210ace70fa aio: eliminate race conditions introduced by tests
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-02 17:55:49 +02:00
deadprogram 678476b612 aio: additional test coverage for Analog Sensor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-23 13:18:22 +01:00
deadprogram 518a563597 aio: additional test coverage for Grove Temperature Sensor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-23 13:13:14 +01:00
deadprogram 2234600d89 aio: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:32:37 +01:00
deadprogram 885c829a43 license: update license year to include 2017
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-02 22:25:17 +01:00
deadprogram 2b5caffed3 docs: correct AIO README link
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-21 10:56:25 +01:00
deadprogram 81810131b8 docs: move AIO drivers into separate section of README
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 13:47:41 +01:00
deadprogram d7cd235e7f aio: remove direct pin, does not make sens here
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 13:44:24 +01:00
deadprogram c186638973 aio: separate analog drivers from gpio drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 13:25:22 +01:00