タグ

firmataに関するmactkgのブックマーク (2)

  • Processing-Arduino Firmataライブラリ

    今回は、「Firmataライブラリ」のテストを行いたいと思います。 通常Processing-Arduinoの間を通信させるときにはシリアル通信を使い、Processing側のプログラムとArduino側のプログラムをそれぞれ別々に書いていましたが、「Firmataライブラリ」を使うことで、Processing側から直接Arduinoをプログラムし制御することが可能になります(パソコンにUSB接続したArduino基板をProcessing側からのプログラムだけで操作できるので便利です)。 Firmataライブラリを使うための準備: ・まずFirmataライブラリをダウンロードし、Processingのlibrariesフォルダ内にインストールします。 ・Arduino-0012であればArduino用Firmataライブラリは含まれているので、メニューバーのSketchBook>Exam

    Processing-Arduino Firmataライブラリ
  • Arduino Playground - Python

    Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post Arduino and Python Talking to Arduino over a serial interface is pretty trivial in Python. On Unix-like systems you can read and write to the serial device as if it were a file, but there is also a wrapper library called pySerial that works well across all operating systems. After installing

  • 1