This commit is contained in:
ackimixs
2024-05-15 12:26:04 +02:00
parent 1de9e2ce3b
commit 8127e72fec

View File

@@ -362,9 +362,9 @@ void TCPServer::checkIfAllClientsReady() {
void TCPServer::toggleBras() {
brasBaisser = !brasBaisser;
if (brasBaisser) {
this->broadcastMessage("strat;servo_moteur;bras;baisser\n");
this->broadcastMessage("strat;servo_moteur;baisser bras;1\n");
} else {
this->broadcastMessage("strat;servo_moteur;bras;lever\n");
this->broadcastMessage("strat;servo_moteur;lever bras;1\n");
}
}