Skip to main content

Client to talk with ftDuino via USB

Project description

ftdu - Talk to ftDuino via Python

ftdu can be used as client for the `ftduino_direct` sketch.

It provides a more pythonic API to communicate with a ftDuino.

Installation

Install the ftduino_direct sketch, see <https://github.com/PeterDHabermehl/ftduino_direct#installation>

Use pip to install ftdu:

$ pip install ftdu

Usage

Library

>>> import ftdu
>>> ftd = ftdu.FtDuino()
>>> ftd.led = True  # Switch the LED on
>>> ftd.o1 = True  # Enable O1
>>> ftd.i1  # Ask value of input port I1
0
>>> ftd.close()

Changes

0.0.1 – 2018-02-16

  • Initial release

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

ftdu-0.0.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

ftdu-0.0.1-py2.py3-none-any.whl (7.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ftdu-0.0.1.tar.gz.

File metadata

  • Download URL: ftdu-0.0.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/2.7.15

File hashes

Hashes for ftdu-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4f159e02054d0ab87efd44359a451c995618c637b76f9b80a9b4461ded8f928b
MD5 c1f5cfbd7cd297ac82482f0eee19500d
BLAKE2b-256 8dbcdc54c10d326a2470fec68bfbec8633d75233e61b5cf26275fe18716f3ab9

See more details on using hashes here.

File details

Details for the file ftdu-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: ftdu-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/2.7.15

File hashes

Hashes for ftdu-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f8082c589b7d0348c04b34ae3f4293c06e74147b585ba0de1c090c07aaf87e45
MD5 c300eabb688aaad99fd88cc1bdd15f2f
BLAKE2b-256 fa74aa9352a44b24fc8948570f8e48816dc156f2fa222ced9a728a6752aea9ce

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