mirror of
https://github.com/modelec/servo_moteurs.git
synced 2026-01-18 16:47:23 +01:00
Update MyTCPClient.cpp
This commit is contained in:
@@ -224,12 +224,14 @@ void MyTCPClient::ouvrir_pince(int pince, bool force) {
|
||||
void MyTCPClient::check_panneau(int quelBras) {
|
||||
for (int i = PANO_BAS; i <= PANO_HAUT;i++){
|
||||
this->pwm_setServoPosition(quelBras, i);
|
||||
usleep(5'000);
|
||||
}
|
||||
}
|
||||
|
||||
void MyTCPClient::uncheck_panneau(int quelBras) {
|
||||
for (int i = PANO_HAUT; i >= PANO_BAS;i--){
|
||||
this->pwm_setServoPosition(quelBras, i);
|
||||
usleep(5'000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user