Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heuer/ftdu
Communicate with ftDuino via USB
https://github.com/heuer/ftdu
fischertechnik ftduino
Last synced: 29 days ago
JSON representation
Communicate with ftDuino via USB
- Host: GitHub
- URL: https://github.com/heuer/ftdu
- Owner: heuer
- License: bsd-3-clause
- Created: 2019-02-13T22:25:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-28T20:17:50.000Z (almost 4 years ago)
- Last Synced: 2024-11-19T03:59:27.494Z (about 2 months ago)
- Topics: fischertechnik, ftduino
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
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, seeUse ``pip`` to install ftdu::
$ pip install ftdu
Usage
-----Library
^^^^^^^.. code-block:: python
>>> 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()Documentation
-------------The docs are provided under