Commit Graph

2896 Commits

Author SHA1 Message Date
deadprogram 17233ae2e3 build: update appveyor for go 1.19
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-10-02 16:26:34 +02:00
deadprogram 0f6dab55c9 all: update to new serial package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-10-02 16:26:34 +02:00
deadprogram 09d6a0ceec platforms/ble: support for Windows and remove macOS specific UUID code no longer needed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-10-02 16:26:34 +02:00
Thomas Kohler b616a1aadd
BUGFIX/Improvement: th02 i2c driver - wrong register usage for heater 2022-10-02 15:57:05 +02:00
Thomas Kohler 2476bd9541 BUGFIX/Improvement: TH02 wrong register for heater, use i2c.Driver 2022-10-02 15:47:41 +02:00
Thomas Kohler 72b52f389d
add PCA9501 i2c driver 2022-10-02 14:55:45 +02:00
Thomas Kohler 28c08be4a8 introduce PCA9501 driver inspired by mcp23017_driver and example for digispark 2022-10-02 14:51:53 +02:00
Thomas Kohler 3d60ca7699
add generic i2c driver 2022-10-02 14:33:04 +02:00
Thomas Kohler ad59d23e2e introduce generic i2c.Driver with example for digispark
fix missing/wrong entries in README
stabilize test
2022-10-02 14:18:08 +02:00
Thomas Kohler 2c4e12b296
Merge pull request #833 from gen2thomas/feature/i2c_readblockdata
BUGFIX: i2c.Read*Data() for digispark, i2c.WriteBlockData() and FEATURE: i2c.ReadBlockData()
2022-10-01 17:42:47 +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
Thomas Kohler 142817aa54
Merge pull request #861 from gen2thomas/fix/makefile_for_style_and_coverage
BUGFIX: Makefile
2022-09-28 15:04:23 +02:00
Thomas Kohler 4a3bfe5042 BUGFIX: Makefile 2022-09-27 19:11:58 +02:00
Thomas Kohler c9f4e5de99
Merge pull request #859 from gen2thomas/fix/examples_issue852
BUGFIX: examples and Makefile for examples
2022-09-27 17:28:03 +02:00
Thomas Kohler 9e72b20c0a improve examples build 2022-09-27 12:30:59 +02:00
Thomas Kohler 9b5dd61861 fix examples and gopigo3 driver 2022-09-27 12:30:59 +02:00
st-user 7031d1ec29 Dji Tello Halt does not terminate all the related goroutines and may wait forever when it is called multiple times
Halt method waits forever when at least one of the goroutines is blocked by its Read method. To avoid this, I make Halt method close the connections before writing to doneCh.
2022-09-26 19:20:32 +02:00
st-user 11259d468d Dji Tello Halt does not terminate all the related goroutines and may wait forever when it is called multiple times
Fix the test for Halt method so that it waits for all the related goroutines to complete.
2022-09-26 19:20:32 +02:00
st-user b07a272ca6 Dji Tello Halt does not terminate all the related goroutines and may wait forever when it is called multiple times
Fix the issue.
2022-09-26 19:20:32 +02:00
st-user 3c8f48a8ac Dji Tello Halt does not terminate all the related goroutines and may wait forever when it is called multiple times
Add failing unit tests.
2022-09-26 19:20:32 +02:00
Thomas Kohler 5bbcfec620
Merge pull request #857 from gen2thomas/feature/add_platforms_to_ci
add more platform tests to CI/CD
2022-09-25 18:58:37 +02:00
Thomas Kohler 9b9df60ed2 add tests of more platforms to CI 2022-09-25 18:49:25 +02:00
Thomas Kohler dcf7f4d180
Merge pull request #855 from gen2thomas/fix/tests_issue852
BUGFIX: some failing tests and implement unused interface
2022-09-25 17:14:10 +02:00
MrARM 2588b58237 Add definitions to controller class too
Website documentation did not make this immediately obvious
2022-09-25 16:27:05 +02:00
MrARM 14c3bde651 Add diagonal hat directions
Diagonal directions are simply the 2 buttons hit added. 
Tested on a PowerA Xbox controller
2022-09-25 16:27:05 +02:00
Thomas Kohler 27b9e04e7e fix keyboard tests and exclude opencv 2022-09-25 14:46:02 +02:00
Thomas Kohler 5977c05f6c fix PWM related read/write tests 2022-09-25 14:26:57 +02:00
Thomas Kohler 47858044a4 add unused but missing interface implementation for PiBlaster 2022-09-25 14:05:38 +02:00
Thomas Kohler 8640dd3af4
Merge pull request #854 from hybridgroup/test_utis_less_fragile
test: make some tests less fragile
2022-09-25 12:16: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
Thomas Kohler daa03ab6c8
Merge pull request #853 from gen2thomas/fix/circleci_issue849
BUGFIX: circleci new home path
now the basic changes are the same like #837
2022-09-25 11:32:27 +02:00
Thomas Kohler c89c88e52d BUGFIX: new home path for cimg 2022-09-25 11:22:53 +02:00
Thomas Kohler 3b68fee9d0 switch to golang 1.19 and to new cimg 2022-09-24 23:11:37 +02:00
Thomas Kohler f141a2bc7a BUGFIX: new pwm behaviour of tinkerboard 2022-09-24 13:52:26 +02:00
Thomas Kohler f536c35f35 adjust analog sensor driver to prevent ReadValue() to get float64 2022-07-13 20:09:31 +02:00
deadprogram d8081f912d all: prepare for release v1.16.0
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-05-02 21:56:19 +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
DiscreteTom 3bfba27dad
fix raspi PWMPin.SetDutyCycle (#800)
raspi: PWMPin.SetDutyCycle
   - value 0 is allowed in pi blaster
   - for pi-blaster, duty should not going below 2us, unless the duty is 0
2022-04-24 11:19:49 +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
Thomas Kohler 63472854a6 mcp23017: add mutex for write, hd44780: fix mutexes 2022-04-17 16:29:33 +02:00
Thomas Kohler 4565cc38de introduce adafruit1109 2x16 LCD with 5 keys 2022-04-17 16:29:33 +02:00
Thomas Kohler cac63385db digispark remove useless code in i2c test 2022-04-17 15:02:01 +02:00
Thomas Kohler 63a5bb9360 digispark fix ReadByte & WriteByte, rework and add i2c tests 2022-04-17 15:02:01 +02:00
Thomas Kohler 1cd34fdde0 don't panic on 'With*' allow simpler wrapping of drivers 2022-04-08 19:42:13 +02:00
Thomas Kohler abbeeeb14c switch off debug 2022-04-08 19:42:13 +02:00
Thomas Kohler ee7bc59a9c add tests, shrink access to some internal variables 2022-04-08 19:42:13 +02:00
Thomas Kohler 491b14f1b9 introduce speed optimizations and related tests 2022-04-08 19:42:13 +02:00
Thomas Kohler 52f13b70b8 final cleanup of code and tests 2022-04-08 19:42:13 +02:00
Thomas Kohler d43d3430d9 fixed PinMode, SetPullUp and SetPolarity, unit tests activated 2022-04-08 19:42:13 +02:00
Thomas Kohler 37eeda80f5 ReadGPIO fixed with #576, failing leftovers for PinMode, SetPullUp and SetPolarity 2022-04-08 19:42:13 +02:00