Did you know that you can use Arduino to turn on an LED when you press a button? Well, it is true, you can do this! Leaving the joke aside, let me show how you can achieve this. You will need the ...
前章では、まとまった処理に名前を付ける「関数」を学びました。 今回は、Arduinoに現在の状態を記憶させる方法を学びます。ボタンを押すたびに、内蔵LEDの動作を「消灯」「点灯」「点滅」の順に切り替えてみましょう。 大切なのは、ボタンが今押されて ...
(1)必要なもの ・Arduino Uno R4 MINIMA ・LED付き押しボタンスイッチ(MP86A1W1H-G) (2)配線 MP86A1W1H-Gはデータシートから確認 ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する