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.0.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.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qtoggleserver_rpigpio-1.3.0.tar.gz
Algorithm Hash digest
SHA256 2564291a37ef409491d2228ede3940857373023d16673bbe5d8ad91f45f026e8
MD5 3dbb982e598fb060a5a1f458f49ddc7b
BLAKE2b-256 8f6a270a3b1ff69f07b6f6ca076db78b052e5aa1213d69c1b00693d6f372550d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for qtoggleserver_rpigpio-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e857ca209debcd35b69bdcb89ab1025e344c498a0fac1f6bc345b0c4d256682f
MD5 42ba2c1f62a2ba48c75e5300b3df640d
BLAKE2b-256 3f4e9aedaaf34cb951d0a8616232ece3f04ac3b615e3762e1108abc575c768d6

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