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.

Source Distribution

trackmaster-0.1.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distributions

trackmaster-0.1.1-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

trackmaster-0.1.1-py2-none-any.whl (5.7 kB view hashes)

Uploaded Python 2

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