Potentiometer Code

Is anyone able to provide me with a code for a Potentiometer.
I am looking for a code that the Potentiometer will have a motor run untill a value is achieved. Anything helps, thanks

Vex has sample code to use for the potentiometer Code Michael.

Go to “File” and “Open Sample Program”.

If you can’t find it because you’re a novice programmer. Here’s an example:

Also here’s some documentation for the lazy:

If you still haven’t figured it out by then I can meet you in person on Wednesday at Seaquam Secondary highschool.

Best Regards!