in a method for the diagnosis of a sensor , in particular a pedal - travel sensor of a motor vehicle , a first signal and at least one second equivalent signal are delivered . if the second signal is time - delayed with respect to the first signal , at least the previous curve of the first signal and / or the previous curve of the second signal is taken into account .