Commit Graph

134 Commits

Author SHA1 Message Date
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 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 5977c05f6c fix PWM related read/write tests 2022-09-25 14:26:57 +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
Lyle Franklin 11cb19983c Add Linux specific step to Intel Curie docs
- My Ubuntu 16.04 installation was initially unable to communicate with
  the intel TinyTile with "unable to connect. Perhaps you need to flash
  your Arduino with Firmata?"
- After digging through some forums, the fix is to add some `udev`
  rules. Although I'm not sure of the specific effect of these rules, I can
  confirm the running `sudo go run main.go` is not sufficient to connect to the board.
- Rule script:
  https://raw.githubusercontent.com/01org/corelibs-arduino101/master/scripts/create_dfu_udev_rule
2017-07-16 09:17:04 -07: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
deadprogram 71adcc39eb curie: add back missing return
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-16 09:34:22 +02:00
deadprogram 2307162424 curie: a few docs improvements
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-16 09:34:22 +02:00
deadprogram ca9c8ddfba curie: update docs formatting
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram f79f75e917 curie: more improvements for README setup instructions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram abc73023fc curie: improve README info
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 fa74dbe548 curie: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 3cf85673ce curie: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 37b7fcbb33 curie: motion detect implemented
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram b91b680673 curie: tap detect implemented
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram b18d4c5506 curie: step count implemented
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 78993b4454 curie: shock detect implemented
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 30345764c7 curie: Accelerometer, Gyroscope, and Temperature sensors implemented
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 2aea7685d2 curie: WIP on adding support for Intel Curie IMU
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram c622d8a41f edison: refactor auto-discovery of Edison board option
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 4162b1b402 edison: removed commented lines
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 7670d2a7f8 joule: ensure built-in LEDs are labeled same as the expansion board
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-09 18:48:51 +02:00
deadprogram ca7ffed510 joule: protect against pin map races
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-06 15:11:58 +02:00
deadprogram 16bb422d14 edison: protect against pin map races
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-06 15:11:46 +02:00
deadprogram 97893cd873 joule: add pin naming system changes to README
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-06 10:08:02 +02:00
deadprogram 3505704e1c joule: correct pin mappings and add PWM example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-05 20:13:17 +02:00
deadprogram ff39cf65b5 edison: improve test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 21:12:23 +02:00
deadprogram 63bc898a5d joule: remove incorrect pin assignment and improve test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 20:43:31 +02:00
deadprogram edd610e1d7 edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 18:15:37 +02:00
deadprogram a73b0f4eee edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 17:25:51 +02:00
deadprogram f84cc5ca1a edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 16:39:39 +02:00
deadprogram c3f9b4ae5d joule: implement DigitalPinnerProvider and PWMPinnerProvider interfaces
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 10:31:36 +02:00
deadprogram fb07036fda edison: implement DigitalPinnerProvider and PWMPinnerProvider interfaces
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 10:31:20 +02:00
deadprogram b250670ccb joule: export PWMPin adaptor methods
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-29 17:02:47 +02:00
deadprogram acdc01f128 joule: export DigitalPin and PWMPin adaptor methods
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-28 12:52:49 +02:00