You can read the state of a button using Arduino and a few lines of code. The actual state is shown in the Serial Monitor window as 0 or 1, 0 meaning the button is not pressed and 1 that the button is ...
浅田先生がPCからシリアル通信を使ってmicro:bitの出力を制御するアプリを作られました。 このことに刺激されてProcessingとArduinoの組み合わせで作ってみました。 「チャイム」ボタンを押すと、リレーに100ミリ秒間出力しラモスがしゃべります。 「扇風機 ...