Exemplo n.º 1
0
// set flequency
void Motor::set_frequency(float correct_frequency) {
    power_level->period(1 / correct_frequency);
}
Exemplo n.º 2
0
// set flequency
void Motor::setFlequency(float correctFlequency) {
    powerLevel->period(1 / correctFlequency);
}