Skip to main content

Python extension for libbcm2835.

Project description

This extension provides functionality from libbcm2835 (Written by Mike McCauley) for the Raspberry Pi.

For more documentation visit: http://www.open.com.au/mikem/bcm2835/

Open Source Licensing GPL V2

This is the appropriate option if you want to share the source code of your application with everyone you distribute it to, and you also want to give them the right to share who uses it. If you wish to use this software under Open Source Licensing, you must contribute all your source code to the open source community in accordance with the GPL Version 2 when your application is distributed. See http://www.gnu.org/copyleft/gpl.html and COPYING.

In order to use this extension you must build libbcm2835 as a shared object.

Example:

tar xvfz bcm2835-1.22.tar.gz cd bcm2835-1.22/src make libbcm2835.a gcc -shared bcm2835.o -o libbcm2835.so sudo cp libbcm2835.so /usr/local/lib/ sudo cp bcm2835.h /usr/local/include/

Make sure that the library path is can be found by the linker. Run ‘sudo ldconfig -v’ and if necessary, add the entry to /etc/ld.so.conf.d/libc.conf.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyBCM2835-0.1.0.tar.gz (11.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page