Skip to main content

A python lib to speak to the FreeDeck over serial

Project description

freedeck-serial-api

A python library to speak to the FreeDeck.

Usage

from fdserial.api import FreeDeckSerialAPI
api = FreeDeckSerialAPI()
print("Firmware: %s" % api.getFirmwareVersion())
print("Page Count: %i" % api.getPageCount())
currentPage = api.getCurrentPage()
print("Current Page: %i" % currentPage)
api.setCurrentPage(1)
time.sleep(1)
api.setCurrentPage(currentPage)

This will print your firmware version, your number of pages and the current page. Then it will go to page one, wait a second and go back.

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

freedeck-serial-api-0.2.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

freedeck_serial_api-0.2.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file freedeck-serial-api-0.2.0.tar.gz.

File metadata

  • Download URL: freedeck-serial-api-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for freedeck-serial-api-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4d737e806906654946bcd9be82cf6a9e6400bb594cb5a790cac5a062dce091da
MD5 49c7bf63340d0e96f4547984422784da
BLAKE2b-256 78797270add788fb014aded9de38c2f783c417d2e43d005f6c34e4dc42f8135a

See more details on using hashes here.

File details

Details for the file freedeck_serial_api-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: freedeck_serial_api-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.6

File hashes

Hashes for freedeck_serial_api-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d32202abaaed3283c6662267b5859e1582a9504838f06149d69357ff1caf04e
MD5 8690d900d94aa27a4030ef44a1c54483
BLAKE2b-256 22afb2faa11c986ce6f76fb8c88ec6ff3226563f541746a238f5168a50c0179c

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