.. _chapter_micropython_index: Sentry-microPython =========================== `Sentry-microPython `_ 为 掌控版适配的 python 库,可通过该库去驱动 Sentry 系列传感器。 准备工作 -------- 1. 按照教程下载 microPython IDE `BXY Python Editor `_ 2. 下载 `最新版 Sentry-microPython `_ .zip 文件 3. 将掌控版连接到电脑上后,点击右侧选择正确的开发板,进行连接 .. image:: images/micropython-sentry-bxy-editor.jpg 4. 点击 ``文件`` 按钮,打开掌控版内文件系统,并解压下载的 .zip 文件,将 ``src/Sentry.py`` 文件放在掌控版根目录下 例程 ---- 所有例程文件放于 ``examples/`` 文件夹下。