Client to talk with ftDuino via USB
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.
Install the ftduino_direct sketch, see <https://github.com/PeterDHabermehl/ftduino_direct#installation>
Use pip to install ftdu:
$ pip install ftdu
>>> 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()
0.0.1 – 2018-02-16
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.