A device comprising an element to be driven, a driving element to be engaged with the element to be driven and an actuating element adapted to move the driving element so that it drives the element to be driven according to a step-by-step movement, the driving element and the actuating element being formed by etching in a wafer made of semiconductor material, additionally comprising an elastic prestressing device constantly biasing the driving element towards the element to be driven and maintaining contact between the driving element and the element to be driven such that during a first alternation, the driving element meshes with the element to be driven to drive the element to be driven, and during a second alternation in an opposite direction of the first alternation, the driving element slides on the element to be driven.