updated communication.py. Still has bugs, does not seem to communicate with xmega. Thus far the error of choice is 'write type not recognized' for pretty much anything.