Configure gyroscope period

Now able to configure the gyroscope period