|
|
(4 dazwischenliegende Versionen von einem Benutzer werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
− | <div style="margin:0; margin-right:4px; margin-left:4px; border:3px solid #AA11DD; padding: 0em 1em 1em 0em; background-color:#FFFFDD; align:left;">
| |
− | Welchen Widerstand besitzt mein Handyladegerät, bei einer Stärke von 0,3A und einer Spannung von 230V? Der Wiederstand ist:
| |
− | 767Ω.
| |
| | | |
− |
| |
− | UNVOLLSTÄNDIG
| |
− | <pre>
| |
− | void setup()
| |
− | {
| |
− | pinMode(13,OUTPUT);
| |
− | pinMode(7,INPUT);
| |
− | }
| |
− | void loop()
| |
− | {
| |
− | if(digitalRead(7) == HIGH)
| |
− | {
| |
− | tone(2,262,800);delay(810);
| |
− | tone(2,294,800);delay(810);
| |
− | tone(2,330,800);delay(810);
| |
− | tone(2,349,800);delay(810);
| |
− | tone(2,392,1600);delay(1610);
| |
− | tone(2,392,1600);delay(1610);
| |
− | tone(2,440,800);delay(810);
| |
− | tone(2,440,800);delay(810);
| |
− | tone(2,440,800);delay(810);
| |
− | tone(2,440,800);delay(810);
| |
− | tone(2,392,3200);delay(3210);
| |
− | tone(2,440,800);delay(810);
| |
− | tone(2,440,800);delay(810);
| |
− | tone(2,440,800);delay(810);
| |
− | tone(2,440,800);delay(810);
| |
− | tone(2,392,3200);delay(3210);
| |
− | tone(2,349,800);delay(810);
| |
− | tone(2,349,800);delay(810);
| |
− | tone(2,349,800);delay(810);
| |
− | tone(2,349,800);delay(810);
| |
− | tone(2,330,1600);delay(1610);
| |
− | tone(2,330,1600);delay(1610);
| |
− | tone(2,294,800);delay(810);
| |
− | tone(2,294,800);delay(810);
| |
− | tone(2,294,800);delay(810);
| |
− | tone(2,294,800);delay(810);
| |
− | tone(2,262,3200);delay(3210);
| |
− | }
| |
− | else
| |
− | {
| |
− | tone(2,344,1000);delay(1100);
| |
− | }
| |
− | }
| |
− |
| |
− | </div>
| |