Arduino sketches for the bendulum clock project