O'Reilly logo

Building iPhone and iPad Electronic Projects by Mike Westerfield

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required