You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
I've experienced that the PWM output seems to be reset when my scripts exits, i.e. when some object is destroyed. From other issues I've got the impression that it is due to some DMA cleanup.
What do you mean by in the console? Something like:
If I run the PWM script in the console, then everything works as expected, but if I run it from a script file, then the PWM dies after a few moments:
#!/usr/bin/env python2
from RPIO import PWM
def wdog(GPIO=18,CHAN=0,FREQ=20000):
PWM.setup()
PWM.init_channel(CHAN,FREQ) ## Freq = 199,000us
wdog(22,0)
The text was updated successfully, but these errors were encountered: