passe en rainbow quand on débloque (au pif)
This commit is contained in:
parent
1cf9266dcb
commit
ff1b546f0c
@ -194,6 +194,12 @@ client.on('message', (topic, message) => {
|
|||||||
message: "Buzzer unlock command received.",
|
message: "Buzzer unlock command received.",
|
||||||
timestamp: new Date().toISOString()
|
timestamp: new Date().toISOString()
|
||||||
}));
|
}));
|
||||||
|
// Notify the light manager to change to the team's color
|
||||||
|
client.publish('brainblast/light/change', JSON.stringify({
|
||||||
|
color: "#FFFFFF",
|
||||||
|
effect: 'rainbow'
|
||||||
|
}));
|
||||||
|
|
||||||
|
|
||||||
// Reset buzzer manager state
|
// Reset buzzer manager state
|
||||||
buzzerActive = false;
|
buzzerActive = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user