Skip to main content

parrot (mPython expansion board) mPython library

Project description

概述

掌控拓展板parrot是mPython掌控板衍生的一款体积小巧、易于携带。支持电机驱动、语音播放、语音合成等功能的IO引脚扩展板,可扩展12路IO接口和2路I2C接口。

该库为掌控拓展板提供电机驱动,LED驱动等功能。

库的安装方法

可通过以下任一方法进行安装。

  1. 将项目中的parrot.py
  2. 在掌控板REPL界面中,使用upip安装,步骤如下:
    • 前置条件需要掌控板连接网络
    • 导入upip模块,执行import upip
    • 执行`upip.install('mPython-parrot')
>>> import upip
>>> upip.install('mPython-parrot')

使用

使用方式,请参照下教程: https://mpython.readthedocs.io/zh/master/extboard/tutorials/tutorials_parrot.html

执照

所有代码均在MIT许可下发布。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mPython-parrot-0.1.1.tar.gz (1.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page