A program is running on the arduino uno which reads incoming strings and then calls a function based on what the string is.
The program works when I use arduino's serial monitor to pass the string. eg sending forward calls a function which passes a control byte to the motor controller making the motors turn forward.
However, when I use pyserial from linux it does not work. The connection is fine - i have checked it by having the arduino write to the serial and then using ser.readline() which reads correctly. but using ser.write("forward") does nothing.
Any ideas?