Micro Python Timer Period Formula For Pendulum