Tag Archives: iPhone

Threading in iPhone programming

As Kdl pointed out, it is a good point to remind the threading skeleton proposed during the Stanfor CS 192P iPhone programming course. // LetsMakeAThreadAppDelegate.m // LetsMakeAThread // // Created by Evan Doll on 10/27/08. #import “LetsMakeAThreadAppDelegate.h” @implementation LetsMakeAThreadAppDelegate @synthesize … Continue reading

Posted in Programming | Tagged , , , | 1 Comment

Accelerometers and Flight Dynamics

    roll = -arctan2(acceleration.x, -acceleration.z);    pitch = arctan2(acceleration.y, -acceleration.z);

Posted in Mobiles, Ph.D., Programming, tips and tricks | Tagged , , | Leave a comment