更新时间:2021-07-16 12:40:38
封面
版权信息
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Chapter 1. Introduction to the Raspberry Pi's Architecture and Setup
History and background of the Raspberry Pi
Basic hardware needed
The microSD card – the main storage and boot device of the Raspberry Pi 2
Installing Screen and Vim
Running tests on the OS and configuration changes
Some handy Linux commands
Troubleshooting
Summary
Chapter 2. Programming on Raspbian
Which programming languages?
Assembly language
The C and C++ languages
The Python language
Chapter 3. Low-Level Development with Assembly Language
Back to basics
Memory and addresses
Adding power to our program – control structures
Chapter 4. Multithreaded Applications with C/C++
What are threads?
A C++ equivalent
Going further – mutexes and joins
Chapter 5. Expanding on Storage Options
Booting up
Setting up the external HDD
Network-attached storage (NAS)
Chapter 6. Low-Level Graphics Programming
VideoCore IV GPU
Accessing the frame buffer
Filling the screen with a color
Drawing a line
Chapter 7. Exploring the Raspberry Pi's GPIO Pins
Introduction to GPIO pins
Hardware choices
Switching an LED on and off
Chapter 8. Exploring Sound with the Raspberry Pi 2
Introduction to the Raspberry Pi's sound
Interacting with audio through GPIO
C and ALSA
Introducing Sonic Pi
Chapter 9. Building a Web Server
Introduction to web servers
Popular web servers available on the Raspberry Pi
Building a Python web server
Adding database support
Chapter 10. Integrating with Third-Party Microcontrollers
Genuino/Arduino microcontroller
Setting up the Arduino software
Integration with Arduino
Chapter 11. Final Project
Choose your storage mechanism
Building a Flask-based website
Adding in an LED
Extending the project further
Index