BrickPi.MotorEnable[Port] = 1 BrickPi.SensorType[PORT_1] = TYPE_SENSOR_ULTRASONIC_CONT BrickPi.MotorSpeed[Port] = rate_of_speed $ git clone https://github.com/DexterInd/BrickPi_Python.git $ cd BrickPi_Python $ sudo apt-get install python-setuptools $ sudo python setup.py install #include #include "BrickPi.h"