hello guys

i'm newbie in digispark and coding hehe.
i have some digital servo jx pdi6221mg
http://www.banggood.com/JX-PDI-6221MG-20KG-Large-Torque-Digital-Coreless-Servo-For-RC-Model-p-973947.html this servo work with 1520us/330hz and it was my code
#include <SoftRcPulseOut.h>
#define NOW
SoftRcPulseOut servo1;
SoftRcPulseOut servo2;
int pot1 = A2;
int pot2 = A3;
int valPot1;
int valPot2;
void setup()
{
servo1.attach(1);
servo2.attach(0);
}
void loop()
{
valPot1 = analogRead(pot1);
valPot1 = map (valPot1, 0, 1023, 0, 180);
servo1.write(valPot1);
SoftRcPulseOut::refresh(NOW);
valPot1 = analogRead(pot1);
valPot1 = map (valPot1, 0, 1023, 0, 180);
servo2.write(valPot1);
SoftRcPulseOut::refresh(NOW);
}
before it, i'm use mg995 the code was work, but for 6221mg it wasnt work,
as i know the softrecpulseout work in 20ms pwm, there is someway to change it from 20ms/50hz to 330hz frequrncy?
or you guys have some trick to move my digital servo
thx for your help.
sorry my english is bad
