Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

relay_controller-1.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

relay_controller-1.1.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

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

Hashes for relay_controller-1.1.1.tar.gz
Algorithm Hash digest
SHA256 9e12c92f64153d2dd558fafcd29ad3832de92305015b1e7f5e5ac6a98c92b36a
MD5 015d5649a50e4e0e62174ce4f069de6a
BLAKE2b-256 4a69e6cc7446fcc752b4877030859af161f19b539714489ef7a5328b5d201ef9

See more details on using hashes here.

File details

Details for the file relay_controller-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for relay_controller-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3e4291cd36984bdf541df8ded9f0e7881baa24d5c039fcc9814a1466eb81de3
MD5 4b558ea61feccde153f6c0c663cc7ca6
BLAKE2b-256 c28696b3b91f6aa59a75faf5324b93842c3ded621279a9d04d22d50ed4e487ac

See more details on using hashes here.

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