Skip to main content

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

Metadata

Release files for ftdu 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ftdu 0.0.1
File Size Uploaded
ftdu-0.0.1.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ftdu 0.0.1
File Interpreter ABI Platform
ftdu-0.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 15.7 kB

Release files / ftdu-0.0.1.tar.gz

Download URL ftdu-0.0.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4f159e02054d0ab87efd44359a451c995618c637b76f9b80a9b4461ded8f928b
BLAKE2b-256 checksum
How to use checksums
8dbcdc54c10d326a2470fec68bfbec8633d75233e61b5cf26275fe18716f3ab9
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ftdu-0.0.1-py2.py3-none-any.whl

Download URL ftdu-0.0.1-py2.py3-none-any.whl
Size 7.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f8082c589b7d0348c04b34ae3f4293c06e74147b585ba0de1c090c07aaf87e45
BLAKE2b-256 checksum
How to use checksums
fa74aa9352a44b24fc8948570f8e48816dc156f2fa222ced9a728a6752aea9ce
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page