improve arduino clock init