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
Built Distribution
Close
Hashes for freedeck-serial-api-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e5b36453acd87583a67139b00a1c6b8d72e55303a1f8958646c5754d7af0304 |
|
MD5 | 0458595042edd0c39c35e8a2152ffb12 |
|
BLAKE2b-256 | 28ac55b71641c8dd4845e967995d726098117883e3a9b0bcd47ad57233275a63 |
Close
Hashes for freedeck_serial_api-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b79e9f2f1b38a5aff85e720da794796d6d59a5643969f021cefaea7d619b5fb |
|
MD5 | f3aea5004bcff2584bd95ef06b8458fd |
|
BLAKE2b-256 | ca9b8fd3d1a847dba43e32caa2287a65fb4cf181ff4e94066ad207ce67e27a1b |