Exploring the Raspberry Pi 2 with C++
- Length: 190 pages
- Edition: 1st ed. 2015
- Language: English
- Publisher: Apress
- Publication Date: 2016-04-06
- ISBN-10: 1484217381
- ISBN-13: 9781484217382
- Sales Rank: #518431 (See Top 100 Books)
You have a Pi 2, but what exactly can you do with it? This book takes you on a tour of the Pi 2 hardware and all of the fantastic things that you can do to create innovative and useful projects with your Pi. Start with creating a workstation that does actual work, and move into installing a custom kernel, creating a clock, learning the ins and outs of the GPIO interface, and pick up some useful C++ skills along the way.
Warren Gay, author of Mastering the Raspberry Pi, takes you through a set of experiments to show just what the Pi 2 is capable of and how you can use it to make your own fantastic creations.
What You Will Learn:
- How to create an experimenter’s workstation for the Pi 2, complete with breadboard and even Arduino
- All the details of GPIO, including a custom command for working with it
- Useful projects like a general purpose clock and the PiSpy
- Quick intro to C++ for the Pi
- How to make a multi-core webserver
Who this book is for:
Intermediate electronics enthusiasts and Pi fans, makers, students, teachers, and everyone who wants to know how to make the Pi really work.
Table of Contents
Chapter 1: Introduction
Chapter 2: Workstation
Chapter 3: The Matrix (CPU Utilization)
Chapter 4: Installing a Kernel
Chapter 5: 3 GPIO gp Command
Chapter 6: General Purpose Clock
Chapter 7: Pulse Width Modulation
Chapter 8: Physics of the GPIO Interface
Chapter 9: PiSpy
Chapter 10: Debouncing
Chapter 11: C++ Quick Start
Chapter 12: Multicore Web Server
Appendix A: Class GPIO 1
Appendix B: Class GPIO 2
Appendix C: Class GPIO 3
Appendix D: Class MAX7219
Appendix E: Class Matrix
Appendix F: Class MTop and Diskstat
Appendix G: Other librpi2 Classes