Commit Graph

12 Commits

Author SHA1 Message Date
Chris Morgan c3f4b1f6f8 pwm_pin - Fix DutyCycle() parse error, need to trim off trailing '\n' before calling strconv.Atoi(), as other functions in this package do 2019-05-22 11:34:39 +02:00
deadprogram 1dc8de699c sysfs: pause briefly to allow udev rules to apply when exporting PWMPin
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-20 07:05:10 +01:00
Erik Agsjö dcd861ed6e Fixed PWM duty cycle calculation for C.H.I.P ServoWrite
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-06-15 14:04:08 +02:00
deadprogram 1bb25d3a05 sysfs: proper handling of busy state vs. other errors
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 10:35:03 +02:00
deadprogram ea371766fb sysfs: define DigitalPinnerProvider and PWMPinnerProvider interfaces
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 09:23:15 +02:00
deadprogram 56285df3d3 sysfs: make PWMPinner interface more consistent
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-25 10:43:58 +02:00
deadprogram 471c5260fc sysfs: return sensible result when no valid data read
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-22 10:42:58 +02:00
deadprogram 0eff347997 sysfs: refactor interface for better match with actual interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 23:06:45 +02:00
deadprogram 0d1362bef1 sysfs: changes needed to allow use of PWMPin from Adaptors
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 19:50:17 +02:00
deadprogram 05aeaf7d79 sysfs: add Chip to be able to change pwmchip, and some related refactoring
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 19:29:55 +02:00
deadprogram 79288f837b sysfs: small reordering to file
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 12:55:00 +02:00
deadprogram 11c55dcc60 sysfs: shared pwm pin implementation
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 09:41:11 +02:00