Pyserialはここからダウンロード http://pypi.python.org/pypi/pyserial 解凍してから sudo python setup.py installでインストール。 ドキュメントはこちら http://pyserial.sourceforge.net/shortintro.html macで接続中のシリアルポートを確認するコマンド $ ls /dev/tty.* /dev/tty.Bluetooth-Modem /dev/tty.usbserial-A60049U2 /dev/tty.Bluetooth-PDA-Syncarduinoのコードはこちら。 void setup() { // Open serial communications and wait for port to open: Serial.begin(9800); } void loo