       {
         if(Step_Sending(false, true, false))
         {
-          currentStep = SendingBlue;
+          timesToSendGreen--; 
+          if(timesToSendGreen<0)
+            currentStep = SendingBlue;
         }
       lastTime = newTime;
       }

      {
        if(Step_Sending(true, false, false))
        {
          currentStep = SendingGreen;
        }
        lastTime = newTime;
      }

};

boolean startButtonLightOn = false;
unsigned long lastTime = 0;
Roulette_Step currentStep = Start;
int timesToSendRed = 0;
int timesToSendGreen = 0;
int timesToSendBlue = 0;
int winningHat = 0;

void setup() {

