A relay controller module for Python.
Project description
Relay Controller
A relay controller module for Python.
Installation
pip install relay-controller
Usage
from relay_controller.controller import RController
relay_controller = RController("/dev/ttyUSB0", 1) # Example usage
relay_controller.activate_relay(duration=5) # Activate for 5 seconds
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
Built Distribution
File details
Details for the file relay_controller-1.1.1.tar.gz
.
File metadata
- Download URL: relay_controller-1.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e12c92f64153d2dd558fafcd29ad3832de92305015b1e7f5e5ac6a98c92b36a |
|
MD5 | 015d5649a50e4e0e62174ce4f069de6a |
|
BLAKE2b-256 | 4a69e6cc7446fcc752b4877030859af161f19b539714489ef7a5328b5d201ef9 |
File details
Details for the file relay_controller-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: relay_controller-1.1.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e4291cd36984bdf541df8ded9f0e7881baa24d5c039fcc9814a1466eb81de3 |
|
MD5 | 4b558ea61feccde153f6c0c663cc7ca6 |
|
BLAKE2b-256 | c28696b3b91f6aa59a75faf5324b93842c3ded621279a9d04d22d50ed4e487ac |