Skip to main content

qToggleServer driver for Raspberry Pi GPIOs based on RPi.GPIO

Project description

About

This is an addon for qToggleServer.

It provides a qToggleServer driver for Raspberry Pi GPIOs based on the RPi.GPIO Python library.

The RPiGPIO port class allows controlling all available GPIOs, configuring them as inputs or outputs, enabling or disabling internal pulls.

The RPiGPIOFloat port class makes RPi GPIOs always act as outputs, leaving them floating when writing "low".

Install

Install using pip:

pip install qtoggleserver-rpigpio

Usage

qtoggleserver.conf:
...
ports = [
    ...
    {
        driver = "qtoggleserver.rpigpio.RPiGPIO"
        no = 18             # GPIO number
        def_value = true    # default value at startup
        def_output = true   # default output/input GPIO mode at startup
    }
    ...
]
...

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

qtoggleserver_rpigpio-1.3.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qtoggleserver_rpigpio-1.3.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file qtoggleserver_rpigpio-1.3.1.tar.gz.

File metadata

  • Download URL: qtoggleserver_rpigpio-1.3.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qtoggleserver_rpigpio-1.3.1.tar.gz
Algorithm Hash digest
SHA256 6f15a3b517ca55e032e3d1f2ea33bce86ddfc0ca2485f60ea6ed032d0061a54d
MD5 68cb7118ba36698fa13a6d0bd3eac00a
BLAKE2b-256 2b6f92ce620e3905145de7d6aa64310281addf0a6be322d3311e3f648e3e5768

See more details on using hashes here.

File details

Details for the file qtoggleserver_rpigpio-1.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for qtoggleserver_rpigpio-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0893f77be351ef66d33d167f06d45b015e8ad610687bb14a790aac475bcb6e60
MD5 4b73f9b97cc8fcede242d5000ea62416
BLAKE2b-256 1947798d55acfb1ffcd3cfa0c6dfd39c44a23524eae1461df8b08cc55f7c7764

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page