The accelerometer can be one of the more confusing iPhone features to program. The input generally to be filtered, generally needs quite a bit of tweaking, and I’ve found that many people simply want too much out of the accelerometer.
The compass addition allows you to take it to a level beyond the original iPhone, but reliable reading of complex gestures are still out of the question. That being said it is a cool feature, and can add another level of interactivity to your apps. Kevin Bomberry from Able Pear Software has written a great post with some very useful code snippets for those wishing to add simple accelerometer usage, and vibration to their apps.
The snippets allow you to easily implement shaking, vibration, and a combination of the two in your apps. The article can be found here entitled: iPhone SDK Shake, Rattle, and Roll.
Thanks for reading, please leave any comments below.