Make CAN error pattern more recognizable

This commit is contained in:
Midgard 2020-10-21 21:47:30 +02:00
parent c63053ab7b
commit 0b058cd7d0
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -5,7 +5,6 @@
#define GREEN_LED A5
#define BLINK_DELAY_SLOW 1000
#define BLINK_DELAY_NORMAL 500
#define BLINK_DELAY_FAST 300
#define MCP_INT 2
@ -108,8 +107,8 @@ bool loopPuzzle(obus_can::message* message, void (*callback_game_start)(), void
while (true) {
digitalWrite(RED_LED, blink);
digitalWrite(GREEN_LED, blink);
delay(blink ? BLINK_DELAY_SLOW : BLINK_DELAY_FAST);
blink = !blink;
delay(BLINK_DELAY_NORMAL);
}
}