Quick Start

Already have a BrickPi set up and configured? Want to get started quickly? Here’s how.

To install BrickPython, use:

sudo pip install BrickPython

(or sudo easy_install BrickPython if you haven’t installed pip yet)

Then take a sample application from https://github.com/charlesweir/BrickPython/tree/develop/ExamplePrograms .

Suppose you chose DoorControl.py. Plug a motor into port A and an ultrasound sensor into port 1, and run the program using:

python DoorControl.py

(or possibly sudo python DoorControl.py if that gives errors.)

And you’re away...

Previous topic

Welcome to BrickPython’s documentation!

Next topic

Introduction to BrickPython

This Page