Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
/ flotilla-python Public archive

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

License

Notifications You must be signed in to change notification settings

pimoroni/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