Skip to main content

Motor control by i2c communication for mPython library

Project description

概述

Motor control by i2c communication for mPython library

更多的mPython library:https://github.com/labplus-cn/mPython-lib

库的安装方法

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

  1. 将项目中的motor.py
  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:https://mpython-motor.readthedocs.io

执照

所有代码均在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-motor-0.0.1.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file mPython-motor-0.0.1.tar.gz.

File metadata

  • Download URL: mPython-motor-0.0.1.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for mPython-motor-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ee097ddfeb25ccd656a3d4720ff3efa7d39efaab4899cd5128a05b3683740aba
MD5 87ef739d9a7d6faaeb8d90c69f5b5f40
BLAKE2b-256 ece225d41040207539254eeeb4faa8c94fc9cc3c45e66939c681759e0b8f1121

See more details on using hashes here.

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