Hello
My team is using Potentiometer for Auton Selection. They ran few tests with the Potentiometer and noticed that the percentage value readings Pot.value(vex::percentUnits::pct) for the rotation on the shaft are off from the expectation. Please see attached for values read for the shaft rotation. Can someone help how to fix this?
int main() {
int32_t S1=0;
while(1) {
S1=Pot.value(vex::percentUnits::pct);
Brain.Screen.setFont(fontType::prop20);
Brain.Screen.printAt(140, 60, “analog: %d percent”, Pot.value(vex::percentUnits::pct));
this_thread::sleep_for(50);
}
}