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
Release history Release notifications | RSS feed
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 details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trackmaster-0.1.1.tar.gz.
File metadata
- Download URL: trackmaster-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7eb22177c5da9652c49d63970a81d4f5fc2aef1a466144b0e77af5b699baf73
|
|
| MD5 |
85d7bad3aacb88a9f4c654361a734534
|
|
| BLAKE2b-256 |
858b352c65547736cb445342531f70a4b0d6dff337e5f6bce7ffe2520d131dc0
|
File details
Details for the file trackmaster-0.1.1-py3-none-any.whl.
File metadata
- Download URL: trackmaster-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2eb8ce514013663b69e7e8078a0d69ecd6124f5dc926390e5eff55a80a0e535
|
|
| MD5 |
762cfdc745f4966cf177798152a59536
|
|
| BLAKE2b-256 |
1080c6272b84d71d13bbca1c5f3d129e490c62285e98230ebe10f53ebf0993a2
|
File details
Details for the file trackmaster-0.1.1-py2-none-any.whl.
File metadata
- Download URL: trackmaster-0.1.1-py2-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d80c2f23df041a61ce376913528e95637137f88c2dd49b8739b794dfedd66ce4
|
|
| MD5 |
ec63e44f4752146ce7ab9ed590e9fc6d
|
|
| BLAKE2b-256 |
bdf4427f43e75e45d2e7470d9958372bf6ce3700246ea5d1b43577310ff8decc
|