Python port for Raspberry Pi

/dev/ttyAMA0 must first be released from getty.
Requires PySerial: sudo apt-get install python-serial
Might also work with BeagleBone, but this has not been tested.