Wednesday, November 2, 2011


pyserial module is really useful . i have been using it for perfroming uart related communication.
there a lot of sites which provides this pyserial downloads.
import serial
ser = serial.Serial(0) # open serial port
print ser.portstr # prints the used port
ser.write("hello") # write a string
you can use the above code as a test program for performing a pyserial communication from windows.

No comments:

Post a Comment