Motors = Rpm not power

how do i make my motors go a RPM instead of a power like 127?

With ROBOTC you can command the motors to go to a value that is proportional to RPM, have a read through this thread.

It is still a bit complicated. To convert from the motor control value to rpm look at the math in this specific post.

void RPMCalc()
SensorValue[I2C_1] = 0;
RPM = SensorValue[I2C_1] * Hz * 60 / ticks;

@jpearman this is what i put so far need help

If you go to your motor and sensor setup and assign the IME to the motor it’s on, RobotC can calcualte rpm for you: