FrontPage

This instruction now turns off the LED that we previously turned on.

この命令により、先ほど点灯させたLEDがオフになります。

Here, we delay for another second. The LED will be off for 1 second.

ここでは、さらに1秒間遅らせます。LEDは1秒間消灯します。

This closing curly brace marks the end of the loop() function.

この閉じた中括弧は、loop()関数の終わりを示しています。

When Arduino gets to this, it starts over again at the beginning of loop().

Arduinoはここまで来ると、loop()の最初からやり直します。

To sum up, this program does this:

結論から言うと、このプログラムはこんなことをします。

• Turns pin 13 into an output (just once at the beginning)

・13番ピンを出力にする(最初に1回だけ)

• Enters a loop

・ループに入る

• Switches on the LED connected to pin 13

・13番ピンに接続されたLEDを点灯させる

• Waits for a second

・1秒間待ちます

• Switches off the LED connected to pin 13

・13番ピンに接続されたLEDをオフにする

• Waits for a second

・1秒間待ちます

• Goes back to beginning of the loop

・ループの先頭に戻ります

トップ   編集 凍結解除 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2021-10-20 (水) 21:34:26