Menu

#99 PWM stop() requires a 0.2 second pause before channel can be set HIGH

New
None
Critical
Defect
2016-05-13
2015-03-15
roo12345
No

After stopping a PWM it's necessary to wait before it is possible to set the port to HIGH.

For example:

self.pulse.stop()

time.sleep(0.2)

GPIO.output(self.port,GPIO.HIGH)

Line 3 will not set the port HIGH if the SLEEP is 0.1, nor even 0.15

Not sure what you can do?

Add a queue somewhere?

Discussion


Log in to post a comment.

Auth0 Logo