Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8dab756

Browse files
authoredJun 26, 2018
Merge pull request #14 from arduino/German-Functions
Translated functions folder to German.
2 parents c6bf0c0 + 53c6869 commit 8dab756

File tree

6 files changed

+89
-79
lines changed

6 files changed

+89
-79
lines changed
 

‎Language/Functions/Advanced IO/noTone.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Nichts
4545

4646
[float]
4747
=== Anmerkungen und Warnungen
48-
Wenn du mehrere Töne auf mehreren Pins abspielen willst, musst du `noTone()` auf einem Pin aufrufen, bevor du `tone()` auf dem nächsten Pin aufrufen kannst.
48+
Wenn du verschiedene Töne auf mehreren Pins spielen willst, musst du zunächst mit `noTone()` auf einem Pin den Ton stoppen und anschließend mit `tone()` auf dem nächsten Pin einen neuen Ton generieren.
4949
[%hardbreaks]
5050

5151
--

‎Language/Functions/Advanced IO/pulseIn.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Das Timing der Funktion wurde empirisch getestet und wird vermutlich bei länger
3333
=== Parameter
3434
`pin`: Die Pinnummer, an der der Stromstoß gelesen werden soll. (int)
3535

36-
`value`: Welche Art von Stromstoß gelesen werden soll: Entweder link:../../../variables/constants/constants/[HIGH] oder link:../../../variables/constants/constants/[LOW]. (int)
36+
`value`: Welche Art von Stromstoß gelesen werden soll: Entweder link:../../Variables/Constants/constants.adoc[HIGH] oder link:../../Variables/Constants/constants.adoc[LOW]. (int)
3737

3838
`timeout` (optional): Die Anzahl an Mikrosekunden, die gewartet werden soll, bis ein Stromstoß gemessen wurde; Default-Wert ist eine Sekunde (unsigned long)
3939
[float]

‎Language/Functions/Advanced IO/pulseInLong.adoc

Lines changed: 13 additions & 13 deletions
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, `pulseInLong()` 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 or 0 if no complete pulse was received within the timeout.
19+
=== Beschreibung
20+
Liest einen Stromwert von einem Pin ein (entweder HIGH oder LOW). Wenn der *Wert* z.B. *HIGH* ist, wartet `pulseInLong()` 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 `pulseInLong()` 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 shorter pulses. Works on pulses from 10 microseconds to 3 minutes in length. Please also note that if the pin is already high when the function is called, it will wait for the pin to go LOW and then HIGH before it starts counting. This routine can be used only if interrupts are activated. Furthermore the highest resolution is obtained with large intervals.
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. Bitte beachte auch, dass, wenn ein Pin, der bereits *HIGH* ist, wenn die Funktion aufgerufen wird, zunächst auf *LOW* und dann wieder auf *HIGH* wechselt, bevor die Funktion startet. Diese Routine kann nur benutzt werden, wenn Interrupts aktiviert werden. Die beste Auflösung wird erreicht, wenn große Intervalle verwendet werden.
2323
[%hardbreaks]
2424

2525

@@ -30,15 +30,15 @@ The timing of this function has been determined empirically and will probably sh
3030
`pulseInLong(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.adoc[HIGH] oder link:../../Variables/Constants/constants.adoc[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+
=== Gibt zurück
41+
Die Länge des Stromstoßes (in Mikrosekunden) oder 0, wenn kein Stromstoß vor dem Timeout gemessen wird (unsigned long)
4242

4343
--
4444
// OVERVIEW SECTION ENDS
@@ -51,9 +51,9 @@ the length of the pulse (in microseconds) or 0 if no pulse started before the ti
5151
--
5252

5353
[float]
54-
=== Example Code
54+
=== Beispielcode
5555
// 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.
56+
Das Beispiel errechnet den Zeitraum eines Stromstoßes auf Pin 7.
5757

5858
[source,arduino]
5959
----
@@ -71,8 +71,8 @@ void loop() {
7171
[%hardbreaks]
7272

7373
[float]
74-
=== Notes and Warnings
75-
This function relies on micros() so cannot be used in link:../../interrupts/nointerrupts[noInterrupts()] context.
74+
=== Anmerkungen und Warnungen
75+
Diese Funktion verlässt sich auf `micros()` und kann somit in link:../Interrupts/noInterrupts.adoc[noInterrupts()] Kontexten nicht verwendet werden.
7676

7777
--
7878
// HOW TO USE SECTION ENDS

‎Language/Functions/Advanced IO/shiftIn.adoc

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ subCategories: [ "Advanced I/O" ]
1616
--
1717

1818
[float]
19-
=== Description
20-
Shifts in a byte of data one bit at a time. Starts from either the most (i.e. the leftmost) or least (rightmost) significant bit. For each bit, the clock pin is pulled high, the next bit is read from the data line, and then the clock pin is taken low.
19+
=== Beschreibung
20+
Shiftet ein Byte von Daten, ein Bit pro Zeiteinheit. Beginnt entweder mit dem most significant bit (linkestes Bit) oder dem least significant bit (rechtestes Bit). Für jedes Bit wird der clock pin *HIGH* geschalten.
21+
Anschließend wird das nächste Bit gelesen und der clock pin auf *LOW* gesetzt.
2122

22-
If you're interfacing with a device that's clocked by rising edges, you'll need to make sure that the clock pin is low before the first call to `shiftIn()`, e.g. with a call to `digitalWrite(clockPin, LOW)`.
23+
Wenn du mit einem Gerät arbeitest, das bei steigender Flanke die clock auslöst, musst du darauf achten, dass der clock pin *LOW* ist, bevor das erste Mal `shiftIn()` aufgerufen wird. Das ist z.B. möglich mit einem
24+
Aufruf von `digitalWrite(clockPin, LOW)`.
2325

24-
Note: this is a software implementation; Arduino also provides an link:https://www.arduino.cc/en/Reference/SPI[SPI library] that uses the hardware implementation, which is faster but only works on specific pins.
26+
Bemerkung: Das ist eine Softwareimplementierung; Arduino bietet auch eine link:https://www.arduino.cc/en/Reference/SPI[SPI-Bibliothek] an, die eine Hardwareimplementierung benutzt. Diese ist zwar schneller, funktioniert
27+
aber nur mit spezifischen Pins.
2528
[%hardbreaks]
2629

2730

@@ -31,17 +34,17 @@ Note: this is a software implementation; Arduino also provides an link:https://w
3134

3235

3336
[float]
34-
=== Parameters
35-
`dataPin`: the pin on which to input each bit (int)
37+
=== Parameter
38+
`dataPin`: Der Pin, auf dem jedes Bit eingegeben wird (int)
3639

37-
`clockPin`: the pin to toggle to signal a read from *dataPin*
40+
`clockPin`: Der Pin, auf dem das Signal gesetzt wird, um den *dataPin* zu lesen
3841

39-
`bitOrder`: which order to shift in the bits; either *MSBFIRST* or *LSBFIRST*.
40-
(Most Significant Bit First, or, Least Significant Bit First)
42+
`bitOrder`: Welche Ordnung verwendet werden soll, um zu shiften. Entweder ist dies *MSBFIRST* oder *LSBFIRST*.
43+
(Most Significant Bit First oder Least Significant Bit First)
4144

4245
[float]
43-
=== Returns
44-
the value read (byte)
46+
=== Gibt zurück
47+
Den gelesenen Wert (byte)
4548

4649
--
4750
// OVERVIEW SECTION ENDS

‎Language/Functions/Advanced IO/shiftOut.adoc

Lines changed: 39 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ subCategories: [ "Advanced I/O" ]
1212
--
1313

1414
[float]
15-
=== Description
16-
Shifts out a byte of data one bit at a time. Starts from either the most (i.e. the leftmost) or least (rightmost) significant bit. Each bit is written in turn to a data pin, after which a clock pin is pulsed (taken high, then low) to indicate that the bit is available.
15+
=== Beschreibung
16+
Shiftet ein Byte von Daten hinaus, ein Bit pro Zeiteinheit. Beginnt entweder mit dem most significant bit (linkestes Bit) oder dem least significant bit (rechtestes Bit). Für jedes Bit wird der clock pin *HIGH* geschalten.
17+
Anschließend wird das nächste Bit gelesen und der clock pin auf *LOW* gesetzt.
1718

18-
Note- if you're interfacing with a device that's clocked by rising edges, you'll need to make sure that the clock pin is low before the call to `shiftOut()`, e.g. with a call to `digitalWrite(clockPin, LOW)`.
19+
Wenn du mit einem Gerät arbeitest, das bei steigender Flanke die clock auslöst, musst du darauf achten, dass der clock pin *LOW* ist, bevor das erste Mal `shiftIn()` aufgerufen wird. Das ist z.B. möglich mit einem
20+
Aufruf von `digitalWrite(clockPin, LOW)`.
1921

20-
This is a software implementation; see also the linkhttps://www.arduino.cc/en/Reference/SPI[SPI library], which provides a hardware implementation that is faster but works only on specific pins.
22+
Bemerkung: Das ist eine Softwareimplementierung; Arduino bietet auch eine link:https://www.arduino.cc/en/Reference/SPI[SPI-Bibliothek] an, die eine Hardwareimplementierung benutzt. Diese ist zwar schneller, funktioniert
23+
aber nur mit spezifischen Pins.
2124
[%hardbreaks]
2225

2326

@@ -27,19 +30,19 @@ This is a software implementation; see also the linkhttps://www.arduino.cc/en/Re
2730

2831

2932
[float]
30-
=== Parameters
31-
`dataPin`: the pin on which to output each bit (int)
33+
=== Parameter
34+
`dataPin`: Der Pin, auf dem jedes Bit ausgegeben wird (int)
3235

33-
`clockPin`: the pin to toggle once the dataPin has been set to the correct value (int)
36+
`clockPin`: Der Pin, auf dem das Signal gesetzt wird, um den *dataPin* zu lesen (int)
3437

35-
`bitOrder`: which order to shift out the bits; either MSBFIRST or LSBFIRST.
36-
(Most Significant Bit First, or, Least Significant Bit First)
38+
`bitOrder`: Welche Ordnung verwendet werden soll, um zu shiften. Entweder ist dies *MSBFIRST* oder *LSBFIRST*.
39+
(Most Significant Bit First oder Least Significant Bit First)
3740

38-
`value`: the data to shift out. (byte)
41+
`value`: Die Daten, die hinausgeshiftet werden sollen. (byte)
3942

4043
[float]
41-
=== Returns
42-
Nothing
44+
=== Gibt zurück
45+
Nichts
4346

4447
--
4548
// OVERVIEW SECTION ENDS
@@ -52,43 +55,45 @@ Nothing
5255
--
5356

5457
[float]
55-
=== Example Code
58+
=== Beispielcode
5659
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
57-
For accompanying circuit, see the http://arduino.cc/en/Tutorial/ShiftOut[tutorial on controlling a 74HC595 shift register].
60+
Für eingebaute Schaltkreise beachte das http://arduino.cc/en/Tutorial/ShiftOut[Tutorial, wie man ein 74HC595 Shift-Register verwendet].
61+
62+
For accompanying circuit, see the
5863

5964
[source,arduino]
6065
----
6166
//**************************************************************//
62-
// Name : shiftOutCode, Hello World //
67+
// Name : shiftOutCode, Hello World, Auf Deutsch übersetzt //
6368
// Author : Carlyn Maw,Tom Igoe //
6469
// Date : 25 Oct, 2006 //
6570
// Version : 1.0 //
66-
// Notes : Code for using a 74HC595 Shift Register //
67-
// : to count from 0 to 255 //
71+
// Notes : Code, um mit einem 74HC595 Shift Register //
72+
// : von 0 to 255 zu zählen //
6873
//****************************************************************
6974
70-
//Pin connected to ST_CP of 74HC595
75+
//Pin verbunden mit ST_CP des 74HC595
7176
int latchPin = 8;
72-
//Pin connected to SH_CP of 74HC595
77+
//Pin verbunden mit SH_CP des 74HC595
7378
int clockPin = 12;
74-
////Pin connected to DS of 74HC595
79+
////Pin verbunden mit DS des 74HC595
7580
int dataPin = 11;
7681
7782
void setup() {
78-
//set pins to output because they are addressed in the main loop
83+
//Pins auf output setzen, weil diese im loop() verwendet werden
7984
pinMode(latchPin, OUTPUT);
8085
pinMode(clockPin, OUTPUT);
8186
pinMode(dataPin, OUTPUT);
8287
}
8388
8489
void loop() {
85-
//count up routine
90+
//Zähler-Routine
8691
for (int j = 0; j < 256; j++) {
87-
//ground latchPin and hold low for as long as you are transmitting
92+
//Register pin grounden und low halten, solange übertragen wird
8893
digitalWrite(latchPin, LOW);
8994
shiftOut(dataPin, clockPin, LSBFIRST, j);
90-
//return the latch pin high to signal chip that it
91-
//no longer needs to listen for information
95+
//Register pin auf high setzen, um dem Chip zu signalisieren, dass
96+
//er nicht mehr länger Informationen lesen muss
9297
digitalWrite(latchPin, HIGH);
9398
delay(1000);
9499
}
@@ -97,24 +102,24 @@ void loop() {
97102
[%hardbreaks]
98103

99104
[float]
100-
=== Notes and Warnings
101-
The dataPin and clockPin must already be configured as outputs by a call to link:../../digital-io/pinmode[pinMode()].
105+
=== Anmerkungen und Warnungen
106+
Der dataPin und der clockPin müssen vorher als Outputs konfiguriert sein. Dies wird mit dem Aufruf von link:../Digital%20IO/pinMode.adoc[pinMode()] erreicht.
102107

103-
shiftOut is currently written to output 1 byte (8 bits) so it requires a two step operation to output values larger than 255.
108+
shiftOut shiftet aktuell maximal 1 Byte (8 bits) hinaus. Wenn Werte größer 255 hinausgeshiftet werden sollen, benötigt das Register 2 Schritte.
104109
[source,arduino]
105110
----
106-
// Do this for MSBFIRST serial
111+
// Beispiel für MSBFIRST:
107112
int data = 500;
108-
// shift out highbyte
113+
// High byte hinausshiften
109114
shiftOut(dataPin, clock, MSBFIRST, (data >> 8));
110-
// shift out lowbyte
115+
// Low byte hinausshiften
111116
shiftOut(dataPin, clock, MSBFIRST, data);
112117
113-
// Or do this for LSBFIRST serial
118+
// Beispiel für LSBFIRST:
114119
data = 500;
115-
// shift out lowbyte
120+
// Low byte hinausshiften
116121
shiftOut(dataPin, clock, LSBFIRST, data);
117-
// shift out highbyte
122+
// Low byte hinausshiften
118123
shiftOut(dataPin, clock, LSBFIRST, (data >> 8));
119124
----
120125
[%hardbreaks]

‎Language/Functions/Advanced IO/tone.adoc

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ subCategories: [ "Advanced I/O" ]
1616
--
1717

1818
[float]
19-
=== Description
20-
Generates a square wave of the specified frequency (and 50% duty cycle) on a pin. A duration can be specified, otherwise the wave continues until a call to link:../noTone[noTone()]. The pin can be connected to a piezo buzzer or other speaker to play tones.
19+
=== Beschreibung
20+
Generiert einen Ton mit der angegebenen Frequenz (und 50% duty cycle) auf einem Pin. Eine Dauer des Tons kann festgelegt werden; Sonst wird der Ton abgespielt, bis ein link:noTone.adoc[noTone()] aufgerufen wird.
21+
Der Pin kann an einen Piezo oder an einen Lautsprecher angeschlossen werden, um Töne abzuspielen.
2122

22-
Only one tone can be generated at a time. If a tone is already playing on a different pin, the call to tone() will have no effect. If the tone is playing on the same pin, the call will set its frequency.
23+
Nur ein Ton kann gleichzeitig abgespielt werden. Wenn bereits ein Ton auf einem anderen Pin abgespielt wird, hat `tone()` auf einem 2. Pin keinen Effekt. Wenn der Ton auf dem gleichen Pin gespielt wird, setzt
24+
der Aufruf der Funktion die Frequenz des Tons.
2325

24-
Use of the `tone()` function will interfere with PWM output on pins 3 and 11 (on boards other than the Mega).
26+
Die Nutzung der `tone()` Funktion interferiert mit PWM outputs auf Pin 3 und 11 (Auf Boards außer dem Arduino Mega).
2527

26-
It is not possible to generate tones lower than 31Hz. For technical details, see https://github.com/bhagman/Tone#ugly-details[Brett Hagman's notes].
28+
Es ist nicht möglich, Töne mit einer Frequenz niedriger als 31Hz zu erstellen. Für technische Details, siehe https://github.com/bhagman/Tone#ugly-details[Brett Hagman's post].
2729
[%hardbreaks]
2830

2931

@@ -35,17 +37,17 @@ It is not possible to generate tones lower than 31Hz. For technical details, see
3537
[%hardbreaks]
3638

3739
[float]
38-
=== Parameters
39-
`pin`: the pin on which to generate the tone
40+
=== Parameter
41+
`pin`: Der Pin, auf dem der Ton generiert werden soll
4042

41-
`frequency`: the frequency of the tone in hertz - `unsigned int`
43+
`frequency`: Die Frequenz des Tons in Hertz (unsigned int)
4244

43-
`duration`: the duration of the tone in milliseconds (optional) - `unsigned long`
45+
`duration`: Die Dauer des Tons in Millisekunden (optional) (unsigned long)
4446
[%hardbreaks]
4547

4648
[float]
47-
=== Returns
48-
Nothing
49+
=== Gibt zurück
50+
Nichts
4951

5052
--
5153
// OVERVIEW SECTION ENDS
@@ -58,8 +60,8 @@ Nothing
5860
--
5961

6062
[float]
61-
=== Notes and Warnings
62-
If you want to play different pitches on multiple pins, you need to call `noTone()` on one pin before calling `tone() on the next pin.
63+
=== Anmerkungen und Warnungen
64+
Wenn du verschiedene Töne auf mehreren Pins spielen willst, musst du zunächst mit link:noTone.adoc[noTone()] auf einem Pin den Ton stoppen und anschließend mit `tone()` auf dem nächsten Pin einen neuen Ton generieren.
6365
[%hardbreaks]
6466

6567
--
@@ -71,16 +73,16 @@ If you want to play different pitches on multiple pins, you need to call `noTone
7173
--
7274

7375
[float]
74-
=== See also
76+
=== Siehe auch
7577

7678
[role="language"]
77-
* #LANGUAGE# link:../../analog-io/analogwrite[analogWrite()]
79+
* #LANGUAGE# link:../Analog%20IO/analogWrite.adoc[analogWrite()]
7880

7981
[role="example"]
80-
* #EXAMPLE# http://arduino.cc/en/Tutorial/Tone[Tone^]
81-
* #EXAMPLE# http://arduino.cc/en/Tutorial/Tone[Pitch follower^]
82-
* #EXAMPLE# http://arduino.cc/en/Tutorial/Tone3[Simple Keyboard^]
83-
* #EXAMPLE# http://arduino.cc/en/Tutorial/Tone4[multiple tones^]
82+
* #EXAMPLE# http://arduino.cc/en/Tutorial/Tone[Töne^]
83+
* #EXAMPLE# http://arduino.cc/en/Tutorial/Tone[Tonleiter^]
84+
* #EXAMPLE# http://arduino.cc/en/Tutorial/Tone3[Einfaches Keyboard^]
85+
* #EXAMPLE# http://arduino.cc/en/Tutorial/Tone4[Mehrere Töne^]
8486
* #EXAMPLE# http://arduino.cc/en/Tutorial/PWM[PWM^]
8587

8688
--

0 commit comments

Comments
 (0)
Please sign in to comment.