# Use potentiometer to rotate car

**URL:** <https://discourse.processing.org/t/use-potentiometer-to-rotate-car/31029>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [July 3, 2021, 1:54pm UTC](https://discourse.processing.org/t/use-potentiometer-to-rotate-car/31029 "2021-07-03T13:54:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![millionish](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@millionish](https://discourse.processing.org/u/millionish)\
**Post date:** [July 3, 2021, 1:54pm UTC](https://discourse.processing.org/t/use-potentiometer-to-rotate-car/31029/1 "2021-07-03T13:54:47Z")

</div>

Hi, I’m clueless as to how to use potentiometer knob to change an object’s (eg. car) directions / angles. How do I proceed to implement the code in both processing as well as arduino?

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [July 3, 2021, 10:58pm UTC](https://discourse.processing.org/t/use-potentiometer-to-rotate-car/31029/2 "2021-07-03T22:58:12Z")

</div>

> [@millionish](#):
>
> How do I proceed to implement the code in both processing as well as arduino?

Start with some research…

There are Processing resources (tutorials, references, examples, etc.) here:  
_[https://processing.org/](https://processing.org/)_

There is a tutorial specifically on this topic to get you started.

There are Arduino resources here:  
_[https://www.arduino.cc/](https://www.arduino.cc/)_

`:)`
