Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Ryanteck Motor Driver Board
---------------------------

### Cheat Sheet

The rtkmcb Python library allows you to independently control left and right motors, in addition to controlling both at once with a variety of, hopefully, intuitive commands;

#### Left or Right Motor

# Move forwards at speed 0 ( stopped ) to 100
mcb.left_motor.forwards( speed )

# Move backwards at speed 0 ( stopped ) to 100
mcb.left_motor.backwards( speed )

# Set speed of the motor from -100 ( full reverse ) to 100 ( full forward )
mcb.left_motor.speed( speed )

# Stop
mcb.left_motor.stop()

All of these also work for the "right_motor"

#### Both

# Set speed of both motors from -100 to 100
mcb.speed( speed )

# Alternatively, set speed independently
mcb.speed( left_speed, right_speed )

# Turn left
mcb.left( speed )

# Turn right
mcb.right( speed )

# Turn -100 left to 100 right
mcb.turn( speed )

# Stop
mcb.stop()
Change Log
==========

0.0.4-dev
---------
- Fixed bugs introduced by Kanux PWM performance
- Attempt to fix bug in PWM frequency persistence

0.0.1-dev
---------
- Initial development/alpha release

Release files for Rtkmcb 0.0.4dev

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

Source distribution (sdist)

Source distribution for Rtkmcb 0.0.4dev
File Size Uploaded
Rtkmcb-0.0.4dev.tar.gz 2.9 kB Details

Release files / Rtkmcb-0.0.4dev.tar.gz

Download URL Rtkmcb-0.0.4dev.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
45958150015ed6fb0b0774fbf053c7e4573f2117ca24c3cbfef770c8441e7855
BLAKE2b-256 checksum
How to use checksums
f4f177be91f1eb2fcdc7c43438574e2c15aae7b178bb8a787916b38ec43b31b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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