Not getting output on the PWM

13 views
Skip to first unread message

ide.n...@gmail.com

unread,
May 31, 2016, 8:49:40 PM5/31/16
to BeagleBoard
Hi Everyone,

I'm trying to get the PWM outputs up and rugging with this python script:

>import time

>import Adafruit_BBIO.PWM as PWM

>myPWM="P9_14"

>PWM.start(myPWM, 100, 1)
>#for i in range(0,5):
>#    DC=input("What Duty Cycle Would You Like (0-100)? ")
>#    PWM.set_duty_cycle(myPWM, DC)

>time.sleep(10.0)

>PWM.stop(myPWM)
>PWM.cleanup()

The script runs but I get no physical out output.  Any ideas whats going on?
Reply all
Reply to author
Forward
0 new messages