Skip to content

Python library for the Pimoroni Flotilla plug-and-play electronics ecosystem

License

Notifications You must be signed in to change notification settings

vorador/flotilla-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flotilla Python API

This library interfaces with Flotilla over USB serial.

Installing

We've created an installation script that will install the Flotilla python API and update your Dock in the process. To run it fire up Terminal which you'll find in Menu -> Accessories -> Terminal on your Raspberry Pi desktop like so:

Finding the terminal

In the new terminal window type the following and follow the instructions:

curl -sS https://get.pimoroni.com/flotilla | bash

IMPORTANT

If you've installed Rockpool, you need to shut down the Flotilla Daemon before you start talking to the dock using the present python API:

sudo service flotillad stop

Generic python installing

Download or clone this repository and follow the instructions:

cd flotilla-python
pip install ./library

Now you'll be able to use Flotilla with python. Make sure your dock connected.

>>> import flotilla
>>> dock = flotilla.Client()
>>> dock.ready
True

About

Python library for the Pimoroni Flotilla plug-and-play electronics ecosystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 46.8%
  • HTML 34.4%
  • Shell 18.5%
  • Makefile 0.3%