Chapter 2. Accessing the Other Built-in Sensors

Writing our first GUI-based program to display sensor data from the iPhone and iPad in Chapter 1 was a bit involved. After all, you were learning a new programming environment as well as learning about the sensors. With that basic knowledge (pardon the pun), it’s time to quickly expand what we can do. Among other things, we need to finish our tricorder!

The Gyroscope

Starting with the iPhone 4, all iPhones include a three-axis gyroscope. You might think a gyroscope is unnecessary, since ...

Get Building iPhone and iPad Electronic Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.