Skip to content

Commit

Permalink
Sending commands for half identification (1,2,3,4)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricdays committed Mar 30, 2016
1 parent f3cb025 commit 10b7173
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mslrb2015/StateMachine.pde
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ static class StateMachine
{
resetStartTime(true);
nextGS = SwitchRunningStopped();
switch(nextGS)
{
case GS_GAMEON_H1: send_to_basestation(COMM_FIRST_HALF + ""); break;
case GS_GAMEON_H2: send_to_basestation(COMM_SECOND_HALF + ""); break;
case GS_GAMEON_H3: send_to_basestation(COMM_FIRST_HALF_OVERTIME + ""); break;
case GS_GAMEON_H4: send_to_basestation(COMM_SECOND_HALF_OVERTIME + ""); break;
}
}
else if(btnCurrent == ButtonsEnum.BTN_STOP)
{
Expand Down

0 comments on commit 10b7173

Please sign in to comment.