mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-03-18 21:50:33 +01:00
bras
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user