-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
this code work ok
void loop() {
machine.run();
machine.transitionTo(S4);
delay(STATE_DELAY);
}
but this code not work
void state0(){
Serial.println("State 0");
if(machine.executeOnce){
Serial.println("Execute Once");
digitalWrite(LED,!digitalRead(LED));
}
machine.transitionTo(S4); //**problem**
}
Metadata
Metadata
Assignees
Labels
No labels