浅田先生がPCからシリアル通信を使ってmicro:bitの出力を制御するアプリを作られました。 このことに刺激されてProcessingとArduinoの組み合わせで作ってみました。 「チャイム」ボタンを押すと、リレーに100ミリ秒間出力しラモスがしゃべります。 「扇風機 ...
After a youth spent playing with Amigas and getting into all sorts of trouble on the school computer network, I’ve always had a soft spot in my heart for hardware from the 80s and 90s. This extends ...
Arduino Leonardo を USB HID デバイスとして複数台接続した際、Windows や X-Plane 上で個別に識別できるように、製品名(Product) と シリアル番号(Serial Number) を変更します。 uint8_t HID_::getShortName(char *name) { Arduino コアやライブラリをアップデートすると、boards.txt や ...
この1.0では複数のSerialポートを正式にサポートするほか、送信のNon Blocking化の実現とかSerial.flush ()の若干の挙動の変化 (現在のSerial.flush () は受信側データについてのみ説明があり、送信側は不定 (実際には送信前データも破棄される)だったのだが、今度から送信前データは留保されることになった。
Simple library which i wrote for handilng basic user-interactive components like buttons, switches, joysticks that can be connected to arduino. Data produced during interacion is being sent via serial ...