Can't get value of CR for both motors

4 years 11 months ago #29530969 by metRo_
Hello,

I have created a Microbasic to send the encoder count values using serial port however it is working as expected.

print("1:", getvalue( _CR, 1))
print("2:", getvalue( _CR, 2))

it only print the value for the first motor I set, per example in this case it will send the CR value for motor 1 and 0 for motor 2.

print("2:", getvalue( _CR, 2))
print("1:", getvalue( _CR, 1))

in this case it sends CR value for motor 2 and 0 for motor 1. How should I do that?

Thank you,

Please Log in or Create an account to join the conversation.

4 years 11 months ago #29530970 by roboteq
Replied by roboteq on topic Can't get value of CR for both motors
This is a limitation/bug of the current firmware. For now, please read the full counter instead.

Please Log in or Create an account to join the conversation.

4 years 11 months ago #29530971 by metRo_
You should update the manual. I spent 1 hour trying to figure out why this is happen.

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds