-
Notifications
You must be signed in to change notification settings - Fork 2
Low level pure Python library for working with Raspbery PI's peripherals
License
ccrisan/pilowlib
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
1. Introduction --------------- PiLowLib is a library that provides low level access to the peripherals of the Raspberry PI. Currently, besides the raw access to the registers, the following peripherals are supported: * simple digital I/O * PWM * SPI * clocks PiLowLib is fast and performant due to the fact that it uses direct access to the Raspberry PI's peripherals registers. Moreover, it's completely written in Python and does not need any C compiling. PiLowLib was written by Calin Crisan <ccrisan@gmail.com> and is released under LGPLv3 license. Parts of this library were inspired from the wiringPi project written by Gordon Henderson. (https://projects.drogon.net/raspberry-pi/wiringpi/) 2. Installing ------------- The library works exclusively on a Raspberry PI device and it requires full root access to `/dev/mem'. Therefore it is strongly recommended not to install it on any other type of machine. You can always download the latest source code from github: https://github.com/ccrisan/pilowlib For testing purposes you can just use the library from its download location, by setting the PYTHONPATH accordingly: export PYTHONPATH=$PYTHONPATH:/path/to/pilowlib If you want to install it on the system, just run the following command (as root): python setup.py install 3. Getting started ------------------ A couple of source code samples were included in the `examples' directory. This is a good point to get started. More details on how the hardware and peripherals worok can always be found by reading the datasheet: http://www.designspark.com/files/ds/supporting_materials/Broadcom%20BCM2835.pdf
About
Low level pure Python library for working with Raspbery PI's peripherals
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published