Skip to main content
  • Book
  • © 2015

Exploring the Raspberry Pi 2 with C++

Apress

Authors:

  • Hands-on experiments for electronics enthusiasts
  • Clear technical explanations of hardware and software issues
  • Custom Linux commands for the Pi written specifically for this book

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (19 chapters)

  1. Front Matter

    Pages i-xix
  2. Introduction

    • Warren Gay
    Pages 1-4
  3. Workstation

    • Warren Gay
    Pages 5-18
  4. The Matrix (CPU Utilization)

    • Warren Gay
    Pages 19-29
  5. Installing a Kernel

    • Warren Gay
    Pages 31-46
  6. 3 GPIO gp Command

    • Warren Gay
    Pages 47-59
  7. General Purpose Clock

    • Warren Gay
    Pages 61-71
  8. Pulse Width Modulation

    • Warren Gay
    Pages 73-82
  9. Physics of the GPIO Interface

    • Warren Gay
    Pages 83-94
  10. PiSpy

    • Warren Gay
    Pages 95-103
  11. Debouncing

    • Warren Gay
    Pages 105-112
  12. C++ Quick Start

    • Warren Gay
    Pages 113-131
  13. Multicore Web Server

    • Warren Gay
    Pages 133-139
  14. Class GPIO 1

    • Warren Gay
    Pages 141-150
  15. Class GPIO 2

    • Warren Gay
    Pages 151-161
  16. Class GPIO 3

    • Warren Gay
    Pages 163-165
  17. Class MAX7219

    • Warren Gay
    Pages 167-172
  18. Class Matrix

    • Warren Gay
    Pages 173-177
  19. Class MTop and Diskstat

    • Warren Gay
    Pages 179-184
  20. Other librpi2 Classes

    • Warren Gay
    Pages 185-186

About this book

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.


About the author

Warren Gay has been an electronics enthusiast since childhood and often dragged discarded TV sets home after school. In high school he learned to program the IBM-1130 and then pursued a career in software development at Ryerson Polytechnical, in Toronto. Since then he has worked professionally for over 30 years, mainly in C/C++, under Unix and Linux.

Meanwhile, the love of electronics has never faded since the early creation of his home-brewed Intel 8008 system in the 70's to the present day projects employing the Raspberry Pi. Warren also holds an advanced amateur radio license and was able to work the Mir space station (U2MIR) using packet radio in August 1991.

He's authored other books including Mastering Raspberry Pi for Apress, Sams Teach Yourself Linux in 24 Hours, Linux Socket Programming by Example, and Advanced Unix Programming.

Bibliographic Information

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access