Skip to content
This repository was archived by the owner on Nov 16, 2025. It is now read-only.

FiniteStateMachine update()

ged edited this page Sep 10, 2024 · 3 revisions

Definition

Processes the state machine's update cycle

void update();

Remarks

The update method should be placed in a loop iteration (in environments like Arduino). It processes any queued state transitions and calls the current state's update callback.

Usage

void loop()
{
    fsm.update();
}

Clone this wiki locally