摘要 |
The invention relates to a method for inputting data into an electronic data processing device, which comprises an input and an output and in which a program runs in a loop. Said program cyclically inquires whether an input voltage, whose magnitude is greater or less than a specified threshold value, is applied to the input. A pole of a voltage source is connected to the other pole via a series circuit comprised of a first, a second and a third resistor, whereby the voltage dropping at the third resistor forms the input voltage. The first resistor and the second resistor can be controlled. If an inquiry reflects that the magnitude of the input voltage is greater or less than a specified threshold value, a clocking of the first resistor is initiated. The second resistor is controlled in order to firstly make it less than and, afterwards, greater than a second limit value or conversely. The program forms an item of digital input information from the number of clockings. The clockings can also be used for outputting data. |