Exploring Raspberry Pi
Click on the chapter titles below to view the digital resources, source code and external resources that are described in the book chapters.
Part I – Raspberry Pi Basics
Chapter 1: Raspberry Pi Hardware (pg. 3)
Chapter 2: Raspberry Pi Software (pg. 23)
Chapter 3: Exploring Embedded Linux Systems (pg. 55)
Chapter 4: Interfacing Electronics (pg. 113)
Chapter 5: Programming on the Raspberry Pi (pg. 159)
Part II – Interfacing, Controlling, and Communicating
Chapter 6: Interfacing to the Raspberry Pi Input/Outputs (pg. 219)
Chapter 7: Cross-Compilation and the Eclipse IDE (pg. 275)
Chapter 8: Interfacing to the Raspberry Pi Buses (pg. 309)
Chapter 9: Enhancing the Input/Output Interfaces on the RPi (pg. 363)
Chapter 10: Interacting with the Physical Environment (pg. 405)
Chapter 11: Real-Time Interfacing Using the Arduino (pg. 453)
Part III – Advanced Interfacing and Interaction
Chapter 12: The Internet of Things (pg. 483)
Chapter 13: Wireless Communication and Control (pg. 535)
Chapter 14: Raspberry Pi with a Rich User Interface (pg. 577)
Chapter 15: Images, Video, and Audio (pg. 615)
Chapter 16: Kernel Programming (pg. 647)
Index (pg. 677)
Erratum: Page 184 contains the phrase
“platform-independent assembler code”.
Assembler code is not platform independent. Maybe what you mean is that it is still a text file, not a binary?
The beablebone book contains the same error on page 171.
Thanks Angelo, that should be platform-dependent assembler code. To illustrate this point further I have added the two .s file examples below, the first is compiled with a native compiler under x86 and the second is compiled using a cross-compiler to ARMHF. The .s files can be compared.
The .c source file:
The Intel x86 Code:
And the equivalent ARMHF code:
Each of the outputs are platform dependent. Thanks, Derek.
Not sure where this question should go under what chapter. I would like to find a reference to implementing/ programming an I2C MEMS IMU, the BNO055. I can see it with I2Cdetect but for the life of me I can’t write a program that talks to it and gets data back. Any ideas? .thank you