1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-14 19:29:32 +08:00

3 Commits

Author SHA1 Message Date
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
Mark Kuo
5ca29d0ba9 raspi: export PiBlasterPeriod in Adaptor
By setting PiBlasterPeriod to a raspi.Adaptor, the PWM pin will now
reflect the correct duty cycle to /dev/pi-blaster.

Signed-off-by: Mark Kuo <starryalley@gmail.com>
2018-08-16 21:50:13 +10:00
deadprogram
efb9f7647d raspi: add implementation for PWMPinner interface that wraps pi blaster
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 08:37:14 +02:00