Skip to main content

概述

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-lib.readthedocs.io

执照

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

Release files for mPython-motor 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mPython-motor 0.0.3
File Size Uploaded
mPython-motor-0.0.3.tar.gz 1.5 kB Details

Release files / mPython-motor-0.0.3.tar.gz

Download URL mPython-motor-0.0.3.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
12e412dd0a1139e929765663b4a552699a0c803ecaa41eb729ccf699a5d6fbeb
BLAKE2b-256 checksum
How to use checksums
3fbbdd7a89f0576af5aca55fba90d2e23f05c247df9b60ae2868ec0d21254e24
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page