I am getting started with leJos and got this problem today (sorry if this is too obvious, I googled and searched on this forum for a while and couldn't find a solution) when I tried the sample project where you rotate Motor.A for 1440 degrees and at the same time read the tacho count.

I had the problem with Motor.A coz it keeps rotating forever and the tacho count is always 1, 0 or -1. I tried to use Motor.B and it works fine. I tried connecting the original motor A (physical) to port B and it works fine also. So I know it is not the motor, not the cable, and I'm wondering if it is about how port A behaves (or am I missing anything?)

HimWhen asking for help it makes it much easier if you supply as much information as possible....What version of leJOS?is your program running on the nxt or does it use the leJOS pc API?If using the PC API are you using leJOS firmware or the standard firmware and how are you connecting to the nxt?