Use servoblaster.simplesi wrote:I just find a lot of stuff about kernels and tricky stuff like that when I search.
The C crowd seem to have it sorted but I'm looking for the easy peasy Python approach
Set GPIO pin 11 to servomode
p11.setpostion(120) and it move to 120 degree position
Pizypwm is redundant with the software PWM support in the latest RPi.GPIO.simplesi wrote:I'm developing V2 of my Python code that lets Scratch talk to the GPIO.
I just do the frilly bits and rely on RPi.GPIO and PzyPYm etc to do digitial in/out and PWM.
Its software to turn any pin into a servo type pin.What is Servoblaster?! I saw the original post but I still don't completely understand it! I thought the Pi only had one PWM pin? Does Servoblaster make all the Pins PWM?
that puts me off from using it as Scratch has had a few sound issues and although I don't tend to do much with sound myself, I wouldn't want to introduce any problems into anyone using Scratch on RPi.Since it uses the same on-board PWM module as the sound card it may interfere with sound.
Since RPIO is based on Servoblaster, I wonder if it also offers the same option?Note that use of PWM will interfere with 3.5mm jack audio output. Instead
of using the PWM hardware, you can use the PCM hardware, which is less likely
to cause a conflict.
Unfortunately, I need "no likely" to cause a conflictwhich is less likely to cause a conflict.
Users browsing this forum: No registered users and 13 guests