typedef enum
{
	STATE_ready_for_item,
	STATE_ready_for_customer,
	STATE_scanning,
}state;

typedef enum
{
	tissues,
	pasta,
	tomato_sauce,
	bread,
	butter,
	batteries,
	toothbrush,

	ITEM_TYPE_COUNT,
}item;

item Time[ITEM_TYPE_COUNT];

void initTimeTable()
{
	Time[tissues] = 1;
	Time[pasta] = 2;
	Time[tomato_sauce] = 3;
	Time[bread] = 10; 
	Time[butter] = 2;
	Time[batteries] = 2;
	Time[toothbrush] = 1;
}
