Skip to main content

Interface for controlling Trackmaster treadmills

Project description

Control a Trackmaster treadmill from Python, over a serial interface. Tested with Python 2.7 and 3.4.

To install:

pip install trackmaster

Example:

from time import sleep
from trackmaster import Treadmill

t = Treadmill('/dev/ttyUSB0')

t.speed = 6
sleep(60)
t.incline = 5
sleep(60)
t.incline = 10
sleep(60)
t.incline = 15
sleep(5 * 60)
t.auto_stop()

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 trackmaster, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size trackmaster-0.1.1-py2-none-any.whl (5.7 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size trackmaster-0.1.1-py3-none-any.whl (5.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size trackmaster-0.1.1.tar.gz (3.9 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 NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page