> ## Documentation Index
> Fetch the complete documentation index at: https://motorbridge.seeedstudio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 03 模式切换方法

## 本节目标

掌握统一模式切换接口：`motor.ensure_mode(...)`。

## 运行

```bash theme={null}
python3 bindings/python/get_started/courses/03-mode-switch-method.py
```

## 重点

* 切模式前先 `enable_all()`。
* 切模式后先读一次状态确认。
