Here is a Python library that I cooked up to replace Firmata/Pyduino, which I could not get working with my Diecimila. The library is based on the Simple Message System protocol, an Arduino library intended to facilitate simple i/o control between computer and microcontroller (it can be found here: http://www.arduino.cc/playground/Code/SimpleMessageSystem). My Python library is pretty self-explanatory (just make sure you have the SMS example sketch loaded on your Arduino), feel free to use it with whatever you want

# Pyduino SMS# by Dylan V, free to copy/edit/distribute# A simple[r] Python-Arduino bridge, based on the Simple Message System protocol.# Requires SMS library and SMS example sketch to be loaded on board.# For USB Arduinos, please change baudrate in sketch to 115200.

import serial, atexit

__version__ = "0.2"# This is alpha code, written by a novice. Syntax/structure changes are extremely welcome.debug = Trueglobal comm