Programming the Raspberry Pi, Second Edition: Getting Started with Python
Simon Monk
- 2
- McGraw-Hill Education 2016
1 Introduction 2 Getting Started 3 Python Basics 4 Strings, Lists, and Dictionarie 5 Modules, Classes, and Methods 6 Files and the Internet 7 Graphical User Interfaces 8 Games Programming 9 Interfacing Hardware 10 LED Fader Project 11 Prototyping Project (Clock) 12 Raspberry Pi RoboT 13 What Next
n 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.
• 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