I need help coding the Potentiometer for our Robot. We are doing an extending passive intake and we need an arm to put the cubes on the ground and to do that, we need to use a potentiometer. Can someone please explain to me how you code this?
Use the Vex API. It may not have the commands exactly for VexCode but it works exactly to VCS (last I checked). If you are using VCS, highly recommend you change to VexCode. Vex API
When you download VEXCode v5 Text, you can go to âFileâ > âOpen Examplesâ. In the list of examples youâll see the âReading Anglesâ example which will âPrint the potentiometer values to the V5 Brainâs Screenâ.