Skip to main content

Motor control by i2c communication for mPython library

Project description


Motor control by i2c communication for mPython library

更多的mPython library:



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



Type Command motor_no speed(int)
控制电机 0x01 0x01/0x02 -100~100

motor Library Documentation:



Project details

Download files

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

Files for mPython-motor, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size mPython-motor-0.0.3.tar.gz (1.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page