hi friends,
i am facing some problems with serial communcation, my requirement is i need to write i value, Instead of Giving string in ser.write ()
import serial
i = 10
ser = serial.Serial(port, 9600, timeout=1)
ser.open() # i am opening a serial port .
i need to write i value. can any one tell me the syntax .
ser.write(i) # is this correct ... can i write i value using i ...
Please Reply me ASAP
Thanks,
Rams4pi.