// ***** TYPE DEFINITIONS *****
typedef enum PREGS_STATE
{
  PREGS_STATE_IDLE,
  PREGS_STATE_PREHEAT,
  PREGS_STATE_RAMP,
  PREGS_STATE_STAB,
  PREGS_STATE_CUIS,
  PREGS_STATE_COOL,
  PREGS_STATE_COMPLETE,
  PREGS_STATE_TOO_HOT,
  PREGS_STATE_ERROR
} 
PregsState_t;

// ***** LCD MESSAGES *****
#ifdef USE_I2C_LCD
const char* lcdMessagesPregsStatus[] = {
  "En attente",
  "Pre-chauffage",
  "step1",
  "step2",
  "step3",
  "Refroidissement",
  "Fin de processus",
  "Wait,hot",
  "Error"
};
#else
const char* lcdMessagesPregsStatus[] = {
  "Wait",
  "Pre-Heat",
  "step1",
  "step2",
  "step3",
  "Cooling",
  "Complete",
  "Wait,hot",
  "Error"
};
#endif

typedef enum PREGS_STATUS
{
  PREGS_STATUS_OFF,
  PREGS_STATUS_ON
} 
PregsStatus_t;

typedef	enum SWITCH
{
  SWITCH_NONE,
  SWITCH_1,	
  SWITCH_2
}	
switch_t;

typedef enum DEBOUNCE_STATE
{
  DEBOUNCE_STATE_IDLE,
  DEBOUNCE_STATE_CHECK,
  DEBOUNCE_STATE_RELEASE
} 
debounceState_t;


