Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OSError: [Errno 22] Invalid argument
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/debian/Motter/RandomCodes/./PWM_PWM.py", line 9, in <module>
- LED = Pwm('/dev/bone/pwm/1/b', frequency=1000)
- File "/home/debian/Motter/RandomCodes/PWM.py", line 23, in __init__
- self.configure( **kwargs )
- File "/home/debian/Motter/RandomCodes/PWM.py", line 76, in configure
- (self.path/'period').write_text( str( period ) )
- File "/usr/lib/python3.9/pathlib.py", line 1275, in write_text
- return f.write(data)
- OSError: [Errno 22] Invalid argument
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement