http://developer.apple.com/iphone/library/samplecode/Teslameter/index.html