Are you sure that
int Sequence = 0;
is not actually
static int Sequence = 0;
Using static would prevent the variable being reset to zero each time through loop()
Are you sure that
int Sequence = 0;
is not actually
static int Sequence = 0;
Using static would prevent the variable being reset to zero each time through loop()