int LastState = LOW;
By assigning this value
if (Power > 700 && LastState == HIGH)
the result of this statment always false
it never enters to execute all other statements.
int LastState = LOW;
By assigning this value
if (Power > 700 && LastState == HIGH)
the result of this statment always false
it never enters to execute all other statements.