VEX V5 Smart Motor Code

I need help please. because I can’t find the code that allows me to collect the data from the motor.

motorname.rotation(deg) returns the number of degrees the motor has spun. In the place of deg you can also have ‘rev’ for revolutions or ‘raw’ for fun.

Also this thread is categorized as vex IQ, this is a vex edr question


i know what ‘deg’ and ‘rev’ do but what does ‘raw’ do?

You’ll probably never need to use it, it’s the raw format that the motor initially sends the rotation to the brain.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.