#
# send.py
# send a character
# Neil Gershenfeld CBA MIT 11/23/06
#

import serial

#ser = serial.Serial('/dev/ttyS0',9600)
ser = serial.Serial('/dev/ttyS0',115200)
#ser = serial.Serial('/dev/ttyUSB0',115200)
ser.setDTR()

while 1:
   output = raw_input("char to send? ")
   ser.write(output)
