Python Wrapper for the Velleman k8062 DMX controller
Project description
k8062
k8062 is a package for interacting with the Velleman K8062 DMX controller.
Installation
This package is bundled with native drivers. It is only supported on Windows (32/64 bit x86).
pip install k8062
Usage
import k8062
k8062.start_device() # Start the k8062's driver
k8062.set_channel_count(100) # Set the maximum channel number
k8062.set_data(7, 255) # Set channel 7 to 255
k8062.stop_device() # Stop the driver
With the context manager:
import k8062
with k8062.K8062(100) as dmx:
dmx.set_data(7, 255)
Command Line Usage
python -m k8062 7 255
The context manager takes care of starting and stopping the driver.
License
MIT
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
k8062-0.1.2.tar.gz
(2.9 kB
view details)
Built Distribution
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
k8062-0.1.2-py3-none-any.whl
(462.6 kB
view details)
File details
Details for the file k8062-0.1.2.tar.gz.
File metadata
- Download URL: k8062-0.1.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f528a9f727cd768bc676e784e550e1094fcaf63a527807ced1a129bf2618c52d
|
|
| MD5 |
ac59898dc6ccb9e928db7518182ecdb5
|
|
| BLAKE2b-256 |
6117168861e48fed9f52d33c1d4a171df5bcdca49d342fab66ec0ca56b79198c
|
File details
Details for the file k8062-0.1.2-py3-none-any.whl.
File metadata
- Download URL: k8062-0.1.2-py3-none-any.whl
- Upload date:
- Size: 462.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccd6236576a6fd8b52449a2c2c53814b37ad5b82101be1fc01d634400999430b
|
|
| MD5 |
bc7ac8767e9fbd8bedc7390fd6ddb8df
|
|
| BLAKE2b-256 |
3380dce2c4ce05f2633fd3be67a527cfa873435d6158994f0d9c221d571c7755
|