Muutke küpsiste eelistusi

E-raamat: Programming the Raspberry Pi, Third Edition: Getting Started with Python

  • Formaat: PDF+DRM
  • Ilmumisaeg: 04-Jun-2021
  • Kirjastus: McGraw-Hill Education
  • Keel: eng
  • ISBN-13: 9781264257362
  • Formaat - PDF+DRM
  • Hind: 15,91 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: PDF+DRM
  • Ilmumisaeg: 04-Jun-2021
  • Kirjastus: McGraw-Hill Education
  • Keel: eng
  • ISBN-13: 9781264257362

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

An up-to-date guide to creating your own fun and useful Raspberry Pi™ programs
 
This fully updated guide shows how to create inventive programs and fun games on your powerful Raspberry Pi—with no programming experience required. Programming the Raspberry Pi™: Getting Started with Python, Third Edition addresses physical changes and new setup procedures as well as OS updates to the current version 4. You will discover how to configure hardware and software, write Python scripts, create user-friendly GUIs, and control external electronics. Step-by-step projects include a digital clock prototype and a fully functioning Raspberry Pi robot.

  • Configure your Raspberry Pi and explore its features
  • Start writing and debugging Python programs
  • Use strings, lists, functions, and dictionaries
  • Work with modules, classes, and methods
  • Apply object-oriented development methods
  • Create user-friendly games using Pygame
  • Build intuitive user interfaces with guizero
  • Interface with hardware using the gpiozero library
  • Attach external electronics through the GPIO port
  • Add powerful Web features to your projects









Preface xv
Acknowledgments xvii
Introduction xix
1 Introduction
1(12)
What Is the Raspberry Pi?
1(2)
What Can You Do with a Raspberry Pi?
3(1)
A Tour of the Raspberry Pi
3(2)
Setting Up Your Raspberry Pi
5(5)
Buying What You Need
5(4)
Connecting Everything Together
9(1)
Booting Up
10(2)
Summary
12(1)
2 Getting Started
13(8)
Linux
13(1)
The Desktop
14(2)
The Command Line
16(3)
Navigating with the Terminal
17(1)
sudo
18(1)
Applications
19(1)
Internet Resources
20(1)
Summary
20(1)
3 Python Basics
21(18)
Mu
21(5)
Python Versions
22(1)
Python Shell
22(1)
Editor
23(3)
Numbers
26(1)
Variables
26(2)
For Loops
28(1)
Simulating Dice
29(3)
If
32(3)
Comparisons
33(1)
Being Logical
33(1)
Else
34(1)
While
35(1)
The Python Shell from the Terminal
36(1)
Summary
37(2)
4 Strings, Lists, and Dictionaries
39(24)
String Theory
39(2)
Lists
41(3)
Functions
44(1)
Hangman
45(8)
Dictionaries
53(1)
Tuples
54(2)
Multiple Assignment
55(1)
Multiple Return Values
55(1)
Exceptions
56(1)
Summary of Functions
56(5)
Numbers
57(1)
Strings
57(2)
Lists
59(1)
Dictionaries
59(1)
Type Conversions
60(1)
Summary
61(2)
5 Modules, Classes, and Methods
63(10)
Modules
63(2)
Using Modules
64(1)
Useful Python Libraries
65(1)
Object Orientation
65(1)
Defining Classes
66(2)
Inheritance
68(3)
Summary
71(2)
6 Files and the Internet
73(12)
Files
73(5)
Reading Files
73(2)
Reading Big Files
75(1)
Writing Files
76(1)
The File System
77(1)
Pickling
78(1)
JSON
79(1)
Internet
80(3)
Summary
83(2)
7 Graphical User Interfaces
85(12)
Guizero
85(1)
Hello World
85(1)
Temperature Converter
86(3)
Other GUI Widgets
89(2)
Pop-Ups
91(3)
Menus
94(1)
Summary
95(2)
8 Games Programming
97(12)
What Is Pygame?
97(1)
Coordinates
97(1)
Hello Pygame
98(2)
A Raspberry Game
100(8)
Following the Mouse
101(1)
One Raspberry
102(2)
Catch Detection and Scoring
104(1)
Timing
104(1)
Lots of Raspberries
105(3)
Summary
108(1)
9 Interfacing Hardware
109(20)
GPIO Pin Connections
109(3)
Pin Functions
110(1)
Serial Interface Pins
111(1)
Power Pins
111(1)
Hat Pins
112(1)
Breadboarding with Jumper Wires
112(1)
Digital Outputs
112(5)
Step 1 Put the Resistor on the Breadboard
113(1)
Step 2 Put the LED on the Breadboard
114(1)
Step 3 Connect the Breadboard to the GPIO Pins
114(3)
Analog Outputs
117(2)
Digital Inputs
119(1)
Analog Inputs
120(6)
Hardware
121(1)
The Software
122(4)
HATs
126(1)
Summary
127(2)
10 LED Fader Project
129(6)
What You Need
130(1)
Hardware Assembly
130(1)
Software
131(2)
Summary
133(2)
11 Prototyping Project (Clock)
135(10)
What You Need
136(1)
Hardware Assembly
136(2)
Software
138(2)
Phase Two
140(3)
Summary
143(2)
12 Raspberry Pi Robot
145(16)
Set Up the Raspberry Pi Zero W
146(4)
Web-Controlled Rover
150(5)
What You Need
150(1)
Hardware
151(1)
Software
151(4)
Autonomous Rover
155(5)
What You Need
156(1)
Hardware
156(2)
Software
158(2)
Summary
160(1)
13 What Next
161(5)
Linux Resources
161(1)
Python Resources
161(1)
Raspberry Pi Resources
162(1)
Programming Languages
163(2)
Scratch
163(1)
C
163(2)
Other Languages
165(1)
Applications and Projects
165(1)
Media Center (Kodi)
165(1)
Home Automation
166(1)
Summary 166(1)
Index 167
Simon Monk has authored 25 titles on electronics and programming. His books have sold nearly a million copies worldwide and have been translated into nine languages. He also designs products for Monk Makes, the business he runs with his wife.