"Setting up the compass app on your iPhone 3g is incredibly easy. First, point your iPhone at North. If you do not know which direction North is, you might have to grab a compass. Then, hit the calibrate button. As you turn your iPhone, the compass will turn too. Note that if you exit the app, you will have to re-calibrate the compass again."