Quadcopter stabilization algorithm

Has anyone had any success at making their own code to control attitude using pressure?