How to program encoders and potentiometres

Hey guys, we are trying to make a code for programming skills, but using seconds is just a terrible headache for us, it’s impossible to achieve a high score and accuracy using seconds for the one minute programming skills, could anyone provide some examples of their encoder and potentiometer codes for us so we can learn them as an example. We are really willing to learn how to make a perfect program using these sensors

Welcome to the next level. I think you can start by searching the word Odometry.

2 Likes