Yes I see now, the 1 is a motor type parameter.
So you have embedded code we can't see, I still think my first post might be close to the mark. You are calling serial.print() every loop(), that's maybe 100,000 times a second or more, how is the poor serial port going to keep up? And why do you need to know this information so often?
Rob