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


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ftdu, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ftdu-0.0.1-py2.py3-none-any.whl (7.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size ftdu-0.0.1.tar.gz (8.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page