예제 #1
0
// set flequency
void Motor::set_frequency(float correct_frequency) {
    power_level->period(1 / correct_frequency);
}
예제 #2
0
// set flequency
void Motor::setFlequency(float correctFlequency) {
    powerLevel->period(1 / correctFlequency);
}