I would use my Iphone accelerometer and gyro coupled with Arduino. For my project I need to provide data to arduino code about iphone accelerometer and gyro (roll, pitch, yaw) in the PWM 'format'. I have read some iOS documentation and from iOS core motion library seem I can access only rotation matrix, euler and quaternion representation of motion data. Do you can suggest me a solution to obtain PWM values?
Best,
Lucio