An updated guide to programming your own Raspberry Pi projects. Learn to create inventive programs and fun games on your powerful Raspberry Pi — with no programming experience required. This practical book has been revised to fully cover the new Raspberry Pi 2, including upgrades to the Raspbian operating system. Discover how to configure hardware and software, write Python scripts, create user-friendly GUIs, and control external electronics. DIY projects include a hangman game, RGB LED controller, digital clock, and RasPiRobot complete with an ultrasonic rangefinder.
Updated for Raspberry Pi 2
Set up your Raspberry Pi and explore its features
Navigate files, folders, and menus
Write Python programs using the IDLE editor
Use strings, lists, functions, and dictionaries
Work with modules, classes, and methods
Create user-friendly games using Pygame
Build intuitive user interfaces with Tkinter
Attach external electronics through the GPIO port
Add powerful Web features to your projects
Table of Contents:
1. Introduction 2. Getting Started 3. Python Basics 4. Classes and Methods 5. Strings, Lists, and Dictionaries 6. Graphical User Interfaces 7. Connecting Electronics to the Raspberry Pi 8. Serial Interfaces 9. RGB LED Slider Example 10. Thermostat 11. The Raspberry Pi Bot 12. What Next?