I've got a serious problem about Pi. It is - I can play sound just fine with a python script either with:
import pygame
pygame.mixer.init()
pygame.mixer.Sound("...").play()
or:
import os
os.system("aplay ...")
I can also mess around with my PWM servo like a boss:
from RPIO import PWM
servo = PWM.Servo()
servo.set_servo(pin, 1000)
Funny things happen when you want to connect these two things:
- Sound doesn't work at all
- Servo does random moves till I shut the program down. Even after
servo.stop()
Is it me not noticing something obvious? I really need to make it work, but nothing helps. How can I solve that?