Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

k8062-0.1.2-py3-none-any.whl (462.6 kB view hashes)

Uploaded Python 3

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