Feb-17-2021, 09:53 AM
sleep(0.01) # Delay for 30mS in loop
this will delay for only 10 ms. per iteration. For 30 use .03
There's an example here where author is illuminating an led using pwm: https://www.mbtechworks.com/projects/ras...i-pwm.html
Seemingly unstable GPIO output while executing from RetroPie
|
Feb-17-2021, 09:53 AM
sleep(0.01) # Delay for 30mS in loop this will delay for only 10 ms. per iteration. For 30 use .03 There's an example here where author is illuminating an led using pwm: https://www.mbtechworks.com/projects/ras...i-pwm.html |
|
Messages In This Thread |
Seemingly unstable GPIO output while executing from RetroPie - by LouF - Feb-17-2021, 07:00 AM
RE: Seemingly unstable GPIO output while executing from RetroPie - by Larz60+ - Feb-17-2021, 09:53 AM
RE: Seemingly unstable GPIO output while executing from RetroPie - by deanhystad - Feb-17-2021, 10:34 AM
RE: Seemingly unstable GPIO output while executing from RetroPie - by LouF - Feb-18-2021, 01:49 AM
RE: Seemingly unstable GPIO output while executing from RetroPie - by LouF - Feb-18-2021, 01:55 AM
RE: Seemingly unstable GPIO output while executing from RetroPie - by deanhystad - Feb-18-2021, 11:00 AM
RE: Seemingly unstable GPIO output while executing from RetroPie - by LouF - Feb-19-2021, 06:29 AM
|