Programming the Raspberry Pi getting started with Python
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 operat...
Uloženo v:
| Hlavní autor: | |
|---|---|
| Médium: | E-kniha |
| Jazyk: | angličtina |
| Vydáno: |
McGraw-Hill
2016
|
| Vydání: | Second edition. |
| Témata: | |
| ISBN: | 125958741X, 1259587401, 9781259587412, 9781259587405 |
| On-line přístup: | Získat plný text |
| Tagy: |
Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
|
Obsah:
- A. About the Author -- B. Dedication -- C. PREFACE -- D. ACKNOWLEDGMENTS -- E. INTRODUCTION -- 1. Introduction -- What Is the Raspberry Pi? -- What Can You Do with a Raspberry Pi? -- A Tour of the Raspberry Pi -- Setting Up Your Raspberry Pi -- Booting Up -- Summary -- 2. Getting Started -- Linux -- The Desktop -- The Internet -- The Command Line -- Applications -- Internet Resources -- Summary -- 3. Python Basics -- IDLE -- Numbers -- Variables -- For Loops -- Simulating Dice -- If -- While -- Summary -- 4. Strings, Lists, and Dictionaries -- String Theory -- Lists -- Functions -- Hangman -- Dictionaries -- Tuples -- Exceptions -- Summary of Functions -- Summary -- 5. Modules, Classes, and Methods -- Modules -- Object Orientation -- Defining Classes -- Inheritance -- Summary -- 6. Files and the Internet -- Files -- Pickling -- Internet -- Summary -- 7. Graphical User Interfaces -- Tkinter -- Hello World -- Temperature Converter -- Other GUI Widgets -- Dialogs -- Menus -- The Canvas -- Summary -- 8. Games Programming -- What Is Pygame? -- Coordinates -- Hello Pygame -- A Raspberry Game -- Summary -- 9. Interfacing Hardware -- GPIO Pin Connections -- Breadboarding with Jumper Wires -- Digital Outputs -- Analog Outputs -- Digital Inputs -- Analog Inputs -- Breadboarding with the Pi Cobbler -- Prototyping Boards -- Other Boards and HATs -- Arduino and the Pi -- Summary -- 10. LED Fader Project -- What You Need -- Hardware Assembly -- Software -- Summary -- 11. Prototyping Project (Clock) -- What You Need -- Hardware Assembly -- Software -- Phase Two -- Summary -- 12. Raspberry Pi Robot -- What You Need -- Project 1. Autonomous Rover -- Project 2. Web-Controlled Rover -- Summary -- 13. What Next -- Linux Resources -- Python Resources -- Raspberry Pi Resources -- Other Programming Languages -- Applications and Projects -- Summary.

