Book Image

Getting Started with Python and Raspberry Pi (Redirected from Learning Python By Developing Raspberry Pi Applications)

By : Dan Nixon
Book Image

Getting Started with Python and Raspberry Pi (Redirected from Learning Python By Developing Raspberry Pi Applications)

By: Dan Nixon

Overview of this book

Table of Contents (18 chapters)
Getting Started with Python and Raspberry Pi
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Additional libraries


While the RPI.GPIO module will certainly be sufficient for simple digital logic, you may find that you need to interface to a device that requires the use of one of the communication protocols supported by the Raspberry Pi, such as I2C or SPI.

Fortunately, there are Python libraries available that can do this; for I2C there is smbus-cffi (https://pypi.python.org/pypi/smbus-cffi) and SPI can be used through py-spidev (https://github.com/doceme/py-spidev).