Sorry Ytai, I thought that you need to see my 4WD motor code. Heres my 
servo code, which one really simple: 

Main Class:

private static final int SERVO_PIN = 3;

SeekBar tiltBar;

Servo Class extends BaseIOIOLooper:

private PwmOutput pwmServo;
Setup:

pwmServo = ioio_.openPwmOutput(SERVO_PIN, 100);
Loop:

pwmServo.setPulseWidth(500 + tiltBar.getProgress() * 2);

I have changed DC Motors rate to 1000 as you recommended, this helps a bit, 
servo triggered only once at DC motor start.

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to