1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 12:53:22 +00:00

fixed the issue with the softpwm pytest code for #22

This commit is contained in:
Robert Wolterman
2016-12-31 04:52:57 +00:00
parent 8aa402fbd5
commit 87303b6083

View File

@ -10,6 +10,10 @@ def teardown_module(module):
class TestSoftpwmSetup:
def setup_method(self, test_method):
PWM.cleanup()
def test_start_pwm(self):
PWM.start("XIO-P7", 50, 10)
base = GPIO.get_gpio_base() + 7