Skip to main content

Goal

Demonstrate mode switching within a single program.

Run

Key Points

  • Explicitly call ensure_mode(...) on every switch
  • Send the command for the new mode immediately after switching