     delay(1000);
     Bean.setLed(0,0,0);
     Bean.sleep(0xFFFFFF);
-    
   }
 }

#define BREW_TIME 240000 //4 minutes
#define HEAT_TIME 1800000 //30 minutes

typedef enum
{
  COFFEE_START = '1',

        Serial.write(COFFEE_OFF);
        curState = COFFEE_OFF;
        Bean.disconnect();
        digitalWrite(COFFEE_PIN, LOW);
        //disable relay
      }
    }
