mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Merge pull request #316 from RPi-Distro/revert-301-patch-1
Revert "Update output_devices.py"
This commit is contained in:
@@ -753,8 +753,8 @@ class Motor(SourceMixin, CompositeDevice):
|
|||||||
'forward and backward pins must be provided'
|
'forward and backward pins must be provided'
|
||||||
)
|
)
|
||||||
super(Motor, self).__init__(
|
super(Motor, self).__init__(
|
||||||
forward_device=DigitalOutputDevice(forward),
|
forward_device=PWMOutputDevice(forward),
|
||||||
backward_device=DigitalOutputDevice(backward),
|
backward_device=PWMOutputDevice(backward),
|
||||||
_order=('forward_device', 'backward_device'))
|
_order=('forward_device', 'backward_device'))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Reference in New Issue
Block a user