-
Notifications
You must be signed in to change notification settings - Fork 15
Using Python
Skyler Jane Clark edited this page Apr 20, 2018
·
4 revisions
This Wiki page details how to use Python to control a Flipper board.
To use Flipper from Python you will need to install the Python bindings. We are working on getting an entry in the python package index which will let users install the bindings using pip
. But until then it's easy to install the bindings manually.
Navigate to the root of the repository and run the install command.
make install-python
from flipper import *
attach()
led.rgb(0, 0, 10)
from flipper import *
gpio.enable(gpio.IO_4, 0);
gpio.write(gpio.IO_4, 0);