I'm trying to use my Raspberry Pi B+ to generate a PWM signal. From the documentation (https://pythonhosted.org/RPIO/pwm_py.html), it says that "each DMA channel is setup with a specific subcycle, within which pulses are added, and which will be repeated endlessly," yet I'm having difficulty getting the signal to repeat endlessly.
I've tried a few things, and this is one example of something I believe ought to work:
Code: Select all
servo = PWM.Servo()
servo.set_servo(pwm_ctrl, 4000)
Am I misunderstanding something? Has anyone else run into this?
Thanks
-freefall98