controlling a servo motor with datas of an accelorometer

Hi guys !

We have done two programs ;one enabling to control a servo motor and one to collect datas from an accelorometer( according to the axe Z).

Nevertheless, we met a real problem to drive the servo motor with those datas. Our project deals with the study of heave compensator.

In fact ,our goal would be to counterbalance the variation of altitude by the means of a variation of angular position.

Bien à vous

LucasStar

we met a real problem to drive the servo motor with those datas.

Please post the code that you tried and describe the problems