3 axis auto stabilized platform

hi can any one help? i am looking to pulse the servo simultaneously....

anyway to do this efficient? either using interrupt or a function?