Skip to content

Commit 67a8b92

Browse files
authored
Translated pulseIn() to German.
1 parent 06cc9ce commit 67a8b92

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

Language/Functions/Advanced IO/pulseIn.adoc

+12-11
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ subCategories: [ "Advanced I/O" ]
1616
--
1717

1818
[float]
19-
=== Description
20-
Reads a pulse (either HIGH or LOW) on a pin. For example, if *value* is *HIGH*, `pulseIn()` waits for the pin to go *HIGH*, starts timing, then waits for the pin to go *LOW* and stops timing. Returns the length of the pulse in microseconds. Gives up and returns 0 if no pulse starts within a specified time out.
19+
=== Beschreibung
20+
Liest einen Stromwert von einem Pin ein (entweder HIGH oder LOW). Wenn der *Wert* z.B. *HIGH* ist, wartet `pulseIn()` darauf, dass der Pin auf den Wert *HIGH* wechselt, startet einen Timer und wartet anschließend darauf, dass der Pin wieder auf *LOW* wechselt. Daraufhin stoppt `pulseIn()` den Timer. Gibt die Länge des Stromstoßes in Mikrosekunden zurück. Stoppt und gibt 0 zurück, wenn ein bestimmter Timeout erreicht wird.
2121

22-
The timing of this function has been determined empirically and will probably show errors in longer pulses. Works on pulses from 10 microseconds to 3 minutes in length.
22+
Das Timing der Funktion wurde empirisch getestet und wird vermutlich bei längeren Stromstößen Fehler werfen. Die Funktion funtioniert mit einer Stromstößen der Länge von 10 Mikrosekunden bis 3 Minuten.
2323
[%hardbreaks]
2424

2525

@@ -30,15 +30,16 @@ The timing of this function has been determined empirically and will probably sh
3030
`pulseIn(pin, value, timeout)`
3131

3232
[float]
33-
=== Parameters
34-
`pin`: the number of the pin on which you want to read the pulse. (int)
33+
=== Parameter
34+
`pin`: Die Pinnummer, an der der Stromstoß gelesen werden soll. (int)
3535

36-
`value`: type of pulse to read: either link:../../../variables/constants/constants/[HIGH] or link:../../../variables/constants/constants/[LOW]. (int)
36+
`value`: Welche Art von Stromstoß gelesen werden soll: Entweder link:../../../variables/constants/constants/[HIGH] oder link:../../../variables/constants/constants/[LOW]. (int)
3737

38-
`timeout` (optional): the number of microseconds to wait for the pulse to start; default is one second (unsigned long)
38+
`timeout` (optional): Die Anzahl an Mikrosekunden, die gewartet werden soll, bis ein Stromstoß gemessen wurde; Default-Wert ist eine Sekunde (unsigned long)
3939
[float]
40-
=== Returns
41-
the length of the pulse (in microseconds) or 0 if no pulse started before the timeout (unsigned long)
40+
41+
=== Gibt zurück
42+
Die Länge des Stromstoßes (in Mikrosekunden) oder 0, wenn kein Stromstoß vor dem Timeout gemessen wird (unsigned long)
4243

4344
--
4445
// OVERVIEW SECTION ENDS
@@ -51,9 +52,9 @@ the length of the pulse (in microseconds) or 0 if no pulse started before the ti
5152
--
5253

5354
[float]
54-
=== Example Code
55+
=== Beispielcode
5556
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
56-
The example calculated the time duration of a pulse on pin 7.
57+
Das Beispiel errechnet den Zeitraum eines Stromstoßes auf Pin 7.
5758

5859
[source,arduino]
5960
----

0 commit comments

Comments
 (0)