鹦鹉(mpython扩展板)mpython库
mPython-parrot的Python项目详细描述
概述
掌控拓展板parrot是mPython掌控板衍生的一款体积小巧、易于携带。支持电机驱动、语音播放、语音合成等功能的IO引脚扩展板,可扩展12路IO接口和2路I2C接口。
该库为掌控拓展板提供电机驱动,LED驱动等功能。
- mPython library GitHub:https://github.com/labplus-cn/mPython-lib
- mPython Library Documentation:https://mpython-lib.readthedocs.io
库的安装方法
可通过以下任一方法进行安装。
- 将项目中的
parrot.py
- 在掌控板REPL界面中,使用upip安装,步骤如下:
- 前置条件需要掌控板连接网络
- 导入upip模块,执行
import upip
- 执行`upip.install('mPython-parrot')
>>>importupip>>>upip.install('mPython-parrot')
使用
使用方式,请参照下教程: https://mpython.readthedocs.io/zh/master/extboard/tutorials/tutorials_parrot.html
执照
所有代码均在MIT许可下发布。