There is an example of a programme that differentiates between long and short push-button pushes on the Arduino.cc website, but I was not taken it. However their was an example I did like the look of, ...
今回が最後のプロジェクトです。 フォトカプラーを使って、別回路の押しボタンスイッチを押します。 別回路はSTM32マイコンで用意しました。 これがその別回路です。 押しボタンスイッチを押すと、LEDが点灯します。 今回、Arduinoで作るのは、このSTM32の ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する