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:
@ -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
|
||||
|
Reference in New Issue
Block a user