Linear encoder, serial communication, problems and questions